Publishing Engine for Requirement Composer Reports
Hi,
I try to report all the reviews of my RRC project through REST API's. So I looked at the jazz.net wiki page which explains the RPE-CLM integrations, but I didnt succed in getting the reviews of the projects. First I tried to get the review of a specific artifact and tried this( https://server:9443/rm/publish/reviews?resourceURI=_hml5MIlKEeGvUaLJ5Hfo-g), all I got as a response was "<ds:dataSource totalCount="0"/>" after that I create a review for that artifact and the response was "<ds:dataSource totalCount="1"/>". I understand that this artifact has a review attached to that but there's no information about the review. I also tried https://canberk-pc:9443/rm/publish/text?resourceURI=_hml5MIlKEeGvUaLJ5Hfo-g to see if I can see the review uri in the whole xml body of the requirement but there's no info about the review. I checked the collection by using the same methods but still no info about the review. Is review type being handled by RRC differently than other artifacts? |
Accepted answer
Hi Canberk,
When you use https://server:port/rm/publish/reviews?resourceURI=_JkUdcfefEeGFLt71mynZfQ the resourceURI element is the UUID of the review itself, not of the artifact. From there you should see the response that contains information about the review like participants, artifacts in the review, etc. Are you looking to generate this report from a stand alone RPE of from within RRC? If you're trying to generate this report from within RRC then design your report as if it were to handle only one review and include as many reviews (or all of them) as you want from the wizard. If you're looking for a URL that returns all the reviews in the project unfortunately that is not supported, you must specify a list of reviews to get the results back Canberk Akduygu selected this answer as the correct answer
|
2 other answers
ankur sharma (662●1●22●28)
| answered Sep 05 '12, 7:49 a.m.
JAZZ DEVELOPER edited Sep 05 '12, 7:57 a.m.
You need to provide the review resource id.
https://server:9443/rm/publish/reviews?resourceURI=review-resource-id The review link on the Requirement artifact has that id. Not sure how to obtain it using REST api |
Subscribe Me button didnt warn me about your answers :) Sorry for getting you that late. Suggestions worked for me. Thank you both. I hope there was a way to retrieve all reviews but that would be causing some major performance problems I guess. |
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.