How do I add additional filters to a RDNG REST API URI to limit data return
CLM 5.0.2 (iFix007) no JRS
I am trying to figure out how to add additional filters onto a RDNG REST API URI so I can get specific data returned.
So far I have this that works, sorry, basically not much: https://server:port/rm/publish/collections?projectName=Application%20Lifecycle%20Management ..OR.. to try and bring back all projects https://server:port/rm/publish/collections?projectName=* but this fails with too much data, If I limit the data I am hoping that I can get all I need from all my projects.
What I am trying to achieve is a Report that will show me
This means that I want to be able to list all my Projects (Currently 163 RDNG projects) all their Collections with a Type of "Release Collection" and the Release Collection artifacts Type & Name. I figure if I limit the data to projects with just Collection of Type release and only bring back the name and type of the artifacts within those Release Collections that I can bring back all the data.
Release Collection Name: artifact/title = All that are only Collections with type 'Release Collection'
<?xml version="1.0" encoding="UTF-8"?> -<ds:dataSource vMinor="20" vMajor="50" rrm:totalCount="6" appId="RRC" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:history="http://jazz.net/xmlns/alm/rm/history/v0.1" xmlns:h="http://www.w3.org/1999/xhtml" xmlns:attribute="http://jazz.net/xmlns/alm/rm/attribute/v0.1" xmlns:rrm="http://www.ibm.com/xmlns/rrm/1.0/" xmlns:ds="http://jazz.net/xmlns/alm/rm/datasource/v0.1">
+-<ds:artifact attribute:itemId="_9niPwZrmEeWv2K-5Xs0qSQ">
|
One answer
Have you tried with "filter by XPath"?
Comments
Richard Kissel
commented Apr 03 '17, 10:24 p.m.
Error 503: Service UnavailableCRJZS5531E (More info found at entry [9e176244630997d7] in the RM application server log)
Requirements Management/5.0.2
I am not really sure how this works, there was no examples so all I put in was https://server:port/rm/publish/collections?fields=xpath and I received the above return
Donald Nong
commented Apr 04 '17, 2:25 a.m.
Oops! Sorry for the confusion. I just recall that it actually doesn't work. See the below discussion.
|
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.