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

API to fetch all Testplans in a Project Area along with relations

Hello is there API available that can fetch all the test plans within a project area along with their master-child relationships?

We are aware of the below API , which can fetch all the testplans , but no relationship can be obtained.
https://<server>/qm/service/com.ibm.rqm.integration.service.IIntegrationService/resources/<ProjectAreaUUID>/testplan

0 votes



One answer

Permanent link

Hi


That's an ETM reportable REST URL - I think this can provide the details you want but you have to request the properties you need by adding a query parameter fields.

For example my basic reportable REST URL is:


And the XML returned doesn't have any references to the two test cases in my only plan.

But by adding this query parameter ?fields=feed/entry/content/testplan/testcase

so the URL becomes


Now I get some testcase tags with links to the two testcases in my little plan :-)

            <ns2:testplan xmlns:ns2="http://jazz.net/xmlns/alm/qm/v0.1/"
                          xmlns:ns1="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
                          xmlns:ns3="http://schema.ibm.com/vega/2008/"
                          ...
                          xmlns:ns21="http://www.w3.org/1999/XSL/Transform">
            </ns2:testplan>


1 vote

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
× 11,102

Question asked: Jul 07, 12:26 a.m.

Question was seen: 484 times

Last updated: Jul 13, 12:22 p.m.

Confirmation Cancel Confirm