It's all about the answers!

Ask a question

how to apply filters on the RQM REST API url for the multiple pages scenario ?


Dev K (512833) | asked Jan 10 '14, 3:52 a.m.
Hi,
we can do filtering on a single page using
connectorObject.get("testcase?fields=feed/entry/content/testcase[title='abc']");

But this  filtering property will work only for first page and it will not work if title (i.e abc in this case) exist on page number 2nd.

How can we do it for the multiple pages. i know that we can traverse all the pages using url like  :
 rqmConnecterObj.get(tsArtifactName+"?token=_C8DasVZWEeG429XX9GztHA&page="+ pagenumber)
but not sure how can we add filter attribute in the above url.

Thanks in advance,
Best regards,
Dev Kashyap.


One answer



permanent link
Paul Slauenwhite (8.4k12) | answered Jan 10 '14, 7:47 a.m.
FORUM MODERATOR / JAZZ DEVELOPER
Hi Dev,

The fields selection/filter expressions are applied to all pages of the feed.  That is, the feed's next link will reference the next page of the same filtered feed.

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.