It's all about the answers!

Ask a question

Publishing Engine for Requirement Composer Reports

Canberk Akduygu (99237371) | asked Sep 04 '12, 5:52 p.m.

I try to report all the reviews of my RRC project through REST API's. So I looked at the 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

permanent link
Edgar Ignacio Velazquez Mar (7225) | answered Sep 05 '12, 5:27 p.m.
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

permanent link
ankur sharma (66212228) | answered Sep 05 '12, 7:49 a.m.
edited Sep 05 '12, 7:57 a.m.
You need to provide the review resource id.

The review link on the Requirement artifact has that id. Not sure how to obtain it using REST api

permanent link
Canberk Akduygu (99237371) | answered Oct 09 '12, 2:59 p.m.

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

Register or to post your answer.