Jazz Forum Welcome to the Jazz Community Forum Connect and collaborate with IBM Engineering experts and users

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?

0 votes


Accepted answer

Permanent link
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

1 vote


2 other answers

Permanent link
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

0 votes


Permanent link

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.

0 votes

Your answer

Register or log in 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.

Search context
Follow this question

By Email: 

Once you sign in you will be able to subscribe for any updates here.

By RSS:

Answers
Answers and Comments
Question details
× 12,031
× 482

Question asked: Sep 04 '12, 5:52 p.m.

Question was seen: 6,663 times

Last updated: Oct 09 '12, 2:59 p.m.

Confirmation Cancel Confirm