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

Bulk add development items to many test cases at once

 We have recently imported a set of test cases into RQM and now we need to associate them to their respective stories.
Is there any way to do this with the import tool from RQM or maybe programmatically?
We have over 500 test cases that we need to relate to their proper story.

0 votes


Accepted answer

Permanent link
You should be able to do that by using Java API following this post:
https://jazz.net/forum/questions/80904/how-can-i-use-the-java-api-to-link-rqm-test-caseresults-to-rtc-work-items

You can also achieve the same by using OSLC API:
https://jazz.net/forum/questions/86731/can-i-use-rqm-rest-api-to-link-an-rtc-story-to-a-test-case

The general approach for this one is:
1)
create a test case in the RQM UI with the specific link and GET the XML for the test case:

Method: GET
URL: https://<host>:<port>/<context root>/service/com.ibm.rqm.integration.service.IIntegrationService/resources/<project area alias>/testcase/urn:com.ibm.rqm:testcase:<web ID>?abbreviate=false
Header: Accept=application/xml

2) use PUT command to update the test case with the specific link following the similar format in the GET xml:
(https://jazz.net/wiki/bin/view/Main/RqmApi)

Jorge Valdeiglesias selected this answer as the correct answer

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
× 12,023

Question asked: Mar 25 '14, 4:34 p.m.

Question was seen: 3,562 times

Last updated: Mar 25 '14, 7:04 p.m.

Confirmation Cancel Confirm