It's all about the answers!

Ask a question

How do you query for the results of an RRC view via the REST API?


Jaxsun McCarthy Huggan (111) | asked Aug 08 '13, 8:46 p.m.
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

Comments
Rene Meyer commented Jan 29 '14, 8:16 a.m.
JAZZ DEVELOPER

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é

2 answers



permanent link
Jin Zhou (591519) | answered Aug 09 '13, 3:09 a.m.
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

permanent link
Rene Meyer (42913334) | answered Jan 30 '14, 3:02 a.m.
JAZZ DEVELOPER
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 

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.