It's all about the answers!

Ask a question

How to get test cases with different components in same project area in QM using Rest API


KT PD (597) | asked Feb 02 '23, 7:04 a.m.

 Hi Team,

 I am trying to fetch the testcases/testresults data from RQM using the Restful API. But I can get the data only for one particular component. I cannot get data from the other components in the project area. The project is GC enabled and when I hit the API like 
https://servername/qm/service/com.ibm.rqm.integration.service.IIntegrationService/resources/_jf-pwJWOEeyti6WNFRr-Iw/testcase

Its only giving data from default component and not from other component in same project area.
is there any way to get data from multiple components in the same project areas.


Comments
Ralph Schoon commented Feb 02 '23, 7:19 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER

Ralph Schoon commented Feb 02 '23, 7:22 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER

For the Reportable REST API follow https://jazz.net/wiki/bin/view/Main/RqmApi and provide the required headers for configuration aware project areas. 


Ralph Schoon commented Feb 02 '23, 8:07 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER

 Also, please note, the APIs will not allow you to get the data for multiple components in one call.

Be the first one to answer this question!


Register or 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.