Skip to main content
1-Visitor
May 8, 2019
Question

Integrity CLI

  • May 8, 2019
  • 1 reply
  • 1655 views

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

17-Peridot
May 10, 2019

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