It's all about the answers!

Ask a question

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


Dani Simon (493) | asked Aug 31, 4:00 a.m.

 Hi


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
dani

Accepted answer


permanent link
Vijay Patil (4663) | answered Sep 14, 2:46 a.m.
JAZZ DEVELOPER
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/com.ibm.team.workitem.WorkItem/workItemId"/>
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.

Thanks,
Vijay
Dani Simon selected this answer as the correct answer

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

Thanks a lot, it works!  

Your answer


Register or to post your answer.