It's all about the answers!

Ask a question

Some help with a OSLC query... (RTC/RQM).


Marc van Lint (852025) | asked Oct 25 '13, 10:22 a.m.
JAZZ DEVELOPER
edited Oct 28 '13, 7:49 a.m. by Paul Slauenwhite (8.3k12)
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?

One answer



permanent link
Antoinette Iacobo (650512) | answered Oct 28 '13, 3:51 p.m.
 Hi Marc,

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.

Toni

Your answer


Register or to post your answer.