It's all about the answers!

Ask a question

Bulk add development items to many test cases at once


Jorge Valdeiglesias (541823) | asked Mar 25 '14, 4:34 p.m.
 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.

Accepted answer


permanent link
Don Yang (7.7k21109138) | answered Mar 25 '14, 7:04 p.m.
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

Your answer


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