Can I use RQM REST API to link an RTC story to a Test Case?
![]()
I can link an RTC story (work item) to an RQM test case in UI. When I use RQM REST API GET method to retrieve the XML representation of that test case, I noticed that the RTC story is in element <workitem>. Then, I tried to add <workitem> element to another test case xml, and tried to use RQM REST API to link the same RTC story to another test case, but it didn't link them.
Can I use RQM REST API to link an RTC story to the test case?
|
2 answers
![]()
Bob
You should be able to do this via the OSLC API. Try out the OSLC workshop on Jazz.net. Find out more information about OSLC at the OSLC Home Webpage |
![]()
Yes, you can use the OSLC QM API (see http://open-services.net/bin/view/Main/QmSpecificationV2?sortcol=table;up=#Resource_TestCase). Note, https://jazz.net/wiki/bin/view/Main/RqmApi#ResourcesFootnote8 for the RQM Reportable REST API.
Comments I am trying to update the RQM test case to link to RTC work item. However, I am only able to update attributes of the test case but not able to update the link (e.g. using oslc_qm:relatedChangeRequest). Would appreciate if you provide an example of what the XML input looks like?
![]() FORUM MODERATOR / JAZZ DEVELOPER
Hi Gary,
|