Jazz Forum Welcome to the Jazz Community Forum Connect and collaborate with IBM Engineering experts and users

Getting Artifact IDs

I want to use RQMurlUtility to retrieve artifact ids using the GET command. Is there a way to structure the URL section of the GET command to retrieve a artifact without knowing the ID of the artifact?


Right now I have to know the ID ahead of time to get the artifact. My Get command looks like this

java -jar RQMUrlUtility.jar -command GET -user <username> -password <password> -filepath C:\temp\IDs.txt -url https://<serverName>:<port>/jazz/secure/service/com.ibm.rqm.integration.service.IIntegrationService/resources/<project>/testscript/urn:com.ibm.rqm:testscript:2

I have to tell it exactly what testscript ID to retrieve (testscript:2). I just want it to basically iterate through the artifacts and grab all the ids in that section.

0 votes



One answer

Permanent link
Found the answer to my own question, use URL:

https://<serverName>:<port>/jazz/secure/service/com.ibm.rqm.integration.service.IIntegrationService/resources/<project>/<section>

this will grab info of all artifacts in that section which includes ID. Which can be parsed later.

I want to use RQMurlUtility to retrieve artifact ids using the GET command. Is there a way to structure the URL section of the GET command to retrieve a artifact without knowing the ID of the artifact?


Right now I have to know the ID ahead of time to get the artifact. My Get command looks like this

java -jar RQMUrlUtility.jar -command GET -user <username> -password <password> -filepath C:\temp\IDs.txt -url https://<serverName>:<port>/jazz/secure/service/com.ibm.rqm.integration.service.IIntegrationService/resources/<Project Name/testscript/urn:com.ibm.rqm:testscript:2

I have to tell it exactly what testscript ID to retrieve (testscript:2). I just want it to basically iterate through the artifacts and grab all the ids in that section.

0 votes

Your answer

Register or log in to post your answer.

Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.

Search context
Follow this question

By Email: 

Once you sign in you will be able to subscribe for any updates here.

By RSS:

Answers
Answers and Comments
Question details

Question asked: Sep 13 '10, 8:01 a.m.

Question was seen: 4,146 times

Last updated: Sep 13 '10, 8:01 a.m.

Confirmation Cancel Confirm