Some help with a OSLC query... (RTC/RQM).
I'm working on a RPE template. For that I want to run a query like give me all defects/wi related to a testplan. It should be something like:
https://host:9443/ccm/rpt/repository/workitem?fields=workitem/workItem[auditableLinks/targetRef/uri='https://host:9443/qm/oslc_qm/contexts/_ZJ9pcRklEeOfPN1jCvntow/resources/com.ibm.rqm.planning.VersionedTestPlan/_0F8nYBrVEeO9E_QFReYRSg']/*/*/*
I've tried many variations. The uri should have that pointer. Who can help me with the right syntax of this?
https://host:9443/ccm/rpt/repository/workitem?fields=workitem/workItem[auditableLinks/targetRef/uri='https://host:9443/qm/oslc_qm/contexts/_ZJ9pcRklEeOfPN1jCvntow/resources/com.ibm.rqm.planning.VersionedTestPlan/_0F8nYBrVEeO9E_QFReYRSg']/*/*/*
I've tried many variations. The uri should have that pointer. Who can help me with the right syntax of this?
One answer
Hi Marc,
Toni
If you use the RQM REST API to query for the test plan and add the etlmode parameter, you will see the RTC links for a given test plan, e.g. Development Items links section. The query would look something like:
https://host:9443/qm/service/com.ibm.rqm.integration.service.IIntegrationService/resources/<QMProjectAlias>/testplan/urn:com.ibm.rqm:testplan:<testplanId>?etlmode=true
Hope this helps.
Hope this helps.
Toni