It's all about the answers!

Ask a question

How to link RQM test case with RTC defect using RTC REST APIs?


Uday Bhosale (1328) | asked Jul 15 '15, 7:00 a.m.
 I am able to create RTC defect using REST APIs from my C#.net application. Now I want to link RQM test case with that RTC defect using REST APIs. 

I am trying to link but not able to find correct API. 

If anyone knows API/ way to do this linkage please let me know. 


One answer



permanent link
Chad Meadows (31) | answered Jul 29 '15, 9:39 a.m.
JAZZ DEVELOPER
Note, there isn't a direct link to the test case, but to the test case execution record or test case result.

The test case execution record ( named 'executionelementresult' in API )  and ( named 'executionresult' in API ) contain the relationship to a defect.
See https://jazz.net/wiki/bin/view/Main/RqmApi

Example code you can use as reference
https://jazz.net/wiki/bin/view/Main/RQMURLUtility

Comments
Ralph Schoon commented Jul 29 '15, 9:48 a.m. | edited Jul 29 '15, 9:48 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER

If you have the correct Location URI from RQM, you can use https://rsjazz.wordpress.com/2012/09/19/the-rtc-workitem-link-api-linking-workitems-to-other-elements/ to create the link from RTC.

Your answer


Register or to post your answer.