It's all about the answers!

Ask a question

how to link RTC workitems (story) with testcase in rqm by rest api?

Dani Simon (70114) | asked Aug 31 '20, 4:00 a.m.


Is there any possibility to link testcase and CCM/RTC workitem as a story, task or feature by Rest API? 

I've found some old questions about this here, but unfortunately no solution.... 

thanks in advance

Accepted answer

permanent link
Vijay Patil (4813) | answered Sep 14 '20, 2:46 a.m.
Hi Dani,

You can do this using OSLC REST API.
Steps -
1. Create a CCM/RTC work item.
2. Add it in the OSLC Test Case resource as follows -
    <oslc_qm:testsChangeRequest rdf:ID="n0" rdf:resource="https://hostname:portNumber/ccm/resource/itemName/"/>
3. PUT the OSLC Test Case resource.

Now the CCM/RTC work item will be linked to the given test case and can be seen in Development Items section of Test Case.

Hope this helps.

Dani Simon selected this answer as the correct answer

Dani Simon commented Sep 14 '20, 4:08 p.m.

Thanks a lot, it works!  

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.