How do you query for the results of an RRC view via the REST API?
I am attempting the query for the requirements contained in the results of a view defined on the RRC 4.x server. I can find no documentation how this might be done via rm:views, rm:viewResults, or rm:calmFilter and the existing documentation for OSLC queries (https://jazz.net/library/article/1197) does not mention querying for the results of a view defined on the RRC server or handling views at all.
Any advice would be greatly appreciated,
-Jaxsun
|
2 answers
Hello,
in the https://jazz.net/wiki/bin/view/Main/RRCReportableRestAPI Wiki there is a description on how to get on the results of a view visa REST. My example URL looks like this and gives me all view result records as xml: PA: JKE RRC Example Viewname: All terms https://clm2013.ibmdemo.net:9443/rm/publish/resources?viewName=All%20Terms&projectURI=_Dil3sNePEeKY45-3bc6pOQ You need to know the projectURI and the viewName or the viewURI. Best Regards, René Comments
Jaxsun McCarthy Huggan
commented Jul 11 '14, 4:31 p.m.
Hello Rene,
Thank you for your answer (and sorry for the months late reply).
Though what you've done solves your issue I was looking for a way to do this via the OSLC API, not the Reporting API.
-Jaxsun
|
Unfortunately, I also couldn't find any good samples for you.
https://jazz.net/forum/questions/83284/when-will-rrc-support-rest-apis Not directly related to RRC, I can only find below links for DM, probably could give you some hints. https://jazz.net/wiki/bin/view/Main/DMSDK_REST https://jazz.net/wiki/bin/view/Main/DM_OSLC_Query_Service https://jazz.net/wiki/bin/view/Main/DM_OSLC_RM_Service |
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.
Comments
Hello Jaxsun,
did you find a solution for your question? I would like to export a RRC view via REST/OSLC to a CSV.
Best Regards,
René