How to fetch a Test Plan using its webId attribute in RQM via Rest API
I tried fetching the testplan with its WebId i get all test plans. what i need is all attributes of a specific test plan for the given webId.
|
One answer
Hi Thiruvenkadam,
Unfortunately, the test plan webId property cannot be used in a fields filter (see https://jazz.net/wiki/bin/view/Main/RqmApi#SupportedFieldsResources). In addition, you need the /* appended to your fields expression to select all the test plan properties (see https://jazz.net/wiki/bin/view/Main/RqmApi#FieldsExamples). Finally, when using fields selection/filtering (https://jazz.net/wiki/bin/view/Main/RqmApi#fields), use the strictFields=true request parameter (see https://jazz.net/wiki/bin/view/Main/RqmApi#strictFields) to force invalid fields requests to fail with an error message.
To solve your issue, you can use a resource URL with an internal:
https://localhost/qm/service/com.ibm.rqm.integration.service.IIntegrationService/resources/projectA/testplan/urn:com.ibm.rqm:testplan:1
|
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.