How to get test plan name using testcase id and testcase name ?
Accepted answer
Hi Dev,
I found similar example on this page: http://sleroyblog.wordpress.com/2013/04/09/querying-rqm-40-through-oslc-and-rest-api/#cs_access_thru_rest. See "Test Cases included in Test Suite #2" example. It should be analogous for fetching test plan name.
This link should work for you: https://URL:9443/qm/service/com.ibm.rqm.integration.service.IIntegrationService/resources/project_alias/testplan?fields=feed/entry/content/testplan/(*|testcase[@href='https://URL:9443/qm/service/com.ibm.rqm.integration.service.IIntegrationService/resources/project_alias/testcase/urn:com.ibm.rqm:testcase:X'])
Let us know if it helps.
I found similar example on this page: http://sleroyblog.wordpress.com/2013/04/09/querying-rqm-40-through-oslc-and-rest-api/#cs_access_thru_rest. See "Test Cases included in Test Suite #2" example. It should be analogous for fetching test plan name.
This link should work for you: https://URL:9443/qm/service/com.ibm.rqm.integration.service.IIntegrationService/resources/project_alias/testplan?fields=feed/entry/content/testplan/(*|testcase[@href='https://URL:9443/qm/service/com.ibm.rqm.integration.service.IIntegrationService/resources/project_alias/testcase/urn:com.ibm.rqm:testcase:X'])
Let us know if it helps.