It's all about the answers!

Ask a question

How to traverse all the pages in the RQM using RQM REST API ?


Dev K (512833) | asked Oct 25 '13, 2:56 a.m.
closed Oct 25 '13, 7:00 a.m. by Paul Slauenwhite (8.4k12)
 Actually RQM contains 80 + pages and each page contain 50 test plans . i want to traverse each page and get the response using the below query.

A query structured below will give you the XML of the test plans that test case X is linked to:    https://URL:9443/qm/service/com.ibm.rqm.integration.service.IIntegrationService/resources/project_alias/testplan?fields=feed/entry/content/testplan/(*|testcase[@href='https://URL:9443/qm/service/com.ibm.rqm.integration.service.IIntegrationService/resources/project_alias/testcase/urn:com.ibm.rqm:testcase:X'])
 
Thanks in advance,
Regards,
Dev Kashyap.

2 answers



permanent link
Paul Slauenwhite (8.4k12) | answered Oct 25 '13, 7:04 a.m.
FORUM MODERATOR / JAZZ DEVELOPER
See https://jazz.net/wiki/bin/view/Main/RqmApi#Feeds.

Comments
Dev K commented Oct 25 '13, 7:14 a.m.

 Hi Paul , 

 I know that we need to replace  %20 by &page = 1.like 
?token=_C8DasVZWEeG429XX9GztHA&page=1 but what changes i need to do in the above URL to get testplan title and testcase id.  https://URL:9443/qm/service/com.ibm.rqm.integration.service.IIntegrationService/resources/project_alias/testplan?fields=feed/entry/content/testplan/(*|testcase[@href='https://URL:9443/qm/service/com.ibm.rqm.integration.service.IIntegrationService/resources/project_alias/testcase/urn:com.ibm.rqm:testcase:X'])


permanent link
Paul Slauenwhite (8.4k12) | answered Oct 25 '13, 7:27 a.m.
FORUM MODERATOR / JAZZ DEVELOPER
Hi Dev,

Given the fields selection wildcard (*), all properties will be selected and returned.  Not the case?  What is returned?

What version of RQM?

Your answer


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.