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.
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.
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