Jazz Forum Welcome to the Jazz Community Forum Connect and collaborate with IBM Engineering experts and users

Configure RPE datasource configuration to move from RTC Workitem to Test Artifact

Hi,

I'm struggling with configuring a dynamic datasource in my RPE templaet to move from a RTC Workitem to an affected TestPlan, TestCase, Execution Record and Test Result.

workitem/workItem/auditableLinks/TargetRef/uri return urls of the form:
https://greygloom.outer.stellar.local:9443/qm/oslc_qm/contexts/_HX1q4Ay1EeSca4Goin-m9A/resources/com.ibm.rqm.planning.VersionedTestPlan/_-JDPMbv8EeSgYYmz6qqEtw

How do I convert this to a URI I can use for a data source configuration? (Do I need to go via a REST v2 schema first like with a DOORS Next artifact to Test Case.

0 votes


Accepted answer

Permanent link
Yes. You need to go via REST v2 API. workitem/workItem/auditableLinks/TargetRef/uri is the OSLC (REST v2) based href. You have to convert from the RQM OSLC API to the Reportable REST API to get RQM attributes.

However, if the attributes you want to print are already available in the REST v2 API, then you can directly use them instead of traversing over to the Reportable REST API.

In RPE, once you traverse to REST v2 schema, add another DSC element and traverse to a RQM qm schema. For the second DSC element, URI should be set to RDF/TestCase/relation/resource.
RPETemplate




Ben Sharples selected this answer as the correct answer

0 votes

Your answer

Register or log in to post your answer.

Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.

Search context
Follow this question

By Email: 

Once you sign in you will be able to subscribe for any updates here.

By RSS:

Answers
Answers and Comments
Question details
× 12,029

Question asked: Nov 28 '15, 9:15 a.m.

Question was seen: 3,450 times

Last updated: Nov 28 '15, 2:50 p.m.

Related questions
Confirmation Cancel Confirm