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.7k21108137) | answered Mar 25 '14, 7:04 p.m.
You should be able to do that by using Java API following this post:

You can also achieve the same by using OSLC API:

The general approach for this one is:
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/<project area alias>/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:

Jorge Valdeiglesias selected this answer as the correct answer

Your answer

Register or to post your answer.