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?
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
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