cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - Want the oppurtunity to discuss enhancements to PTC products? Join a working group! X

Integrity CLI

johnm4
7-Bedrock

Integrity CLI

I am trying to get the Item ID of all types in Integrity, using CLI

The reason I want this is I would like to download all attachments that are associated with each Item Type

I can use the command  im extractattachments to download.

Thanks

John

1 REPLY 1
ascott
17-Peridot
(To:johnm4)

Hi John,

im issues is probably the command you want. There are number of different variations, depending on what you want and what you find easier to craft.

For example,

im issues --fields=id --queryDefinition="(field[Type]=Requirement)"
Would give you an ID list of all issues of type "Requirement".

 

If you're doing more complex query filters to get your list, you can create a query in the Client GUI and then use:

im issues --fields=id --query="<name of your query>"
- So this would do the same but use the named query to find the issues.


I hope this helps!
-Andrew

Announcements


Top Tags