How to link RQM test case with RTC defect using RTC REST APIs?
One answer
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
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
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.