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

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

 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

0 votes


Accepted answer

Permanent link
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

1 vote

Comments

Thanks a lot, it works!  

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
× 479
× 457
× 218
× 72

Question asked: Aug 31 '20, 4:00 a.m.

Question was seen: 1,437 times

Last updated: Sep 24 '20, 2:14 a.m.

Confirmation Cancel Confirm