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

REST RQM Return TestPhase and TestPlan details in a single request?

Is there anyway to return both TestPhase and TestPlans details in a single RESTful API request?

With a specific project Area, I'm able to return all the TestPhases and a TestPlan ID for each TestPhase.

With a specific project Area, I'm able to return all the TestPlans but no TestPhase information.

I'd like to perform something like

<server>/qm/service/com.ibm.integration.service.IIntegrationService/resources/<project area>/testphase?

with

fields=feed/entry/content/testphase/(testplan/(title|webID)|starttime|endtime|title)

The concept being that with each testPhase, I would also get the details of the TestPlan (title, webid, etc.).  It seems, however, than I can only return the testPlan @href (the id) and nothing more.

In SQL terms, I want to inner join the testPhase on testPlan.  Is there anything similar or a syntax that could use to obtain such an output?  I don't want to perform a REST API on each TestPlan or TestPhase to obtain the information.  I want to perform just one request.

0 votes


Accepted answer

Permanent link
I am afraid you cannot do that. You can find details on fields filtering in https://jazz.net/wiki/bin/view/Main/RqmApi#fields
Ian Barnard 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,020
× 137

Question asked: Feb 04 '15, 8:05 a.m.

Question was seen: 3,755 times

Last updated: Feb 04 '15, 11:52 a.m.

Confirmation Cancel Confirm