How to access RRC Comment Summary and Priority using RPE / REST
RRC 4.0.1
RPE 1.1.2.2
Hi there
I would like to extend the build-in review report with the Summary and the Priority of any comments.
all data used in the build-in report come from dataSource/artifact/aggregatedContent/reviewArtifacts/*
but i was not able to find anything about summary or priority
any idea?
Thanks
RPE 1.1.2.2
Hi there
I would like to extend the build-in review report with the Summary and the Priority of any comments.
all data used in the build-in report come from dataSource/artifact/aggregatedContent/reviewArtifacts/*
but i was not able to find anything about summary or priority
any idea?
Thanks
2 answers
Hi Erwin,
All the artifacts use a data source for the comments, that data source is generated from the comment information included on the artifact data source, without using a second data source the information cannot be retrieved , please check how the print artifact report works.
Do you have experience using RPE ? If not I would suggest you to check how the comments section works first.
Regards.
Hi Erwin, the comments for Reviews is exposed on the same review REST response, as you see in the XML it does not expose all the information about the comment, this is only true for comments on an artifact been reviewed. If you want to see the comments on the review (not the comments on the reviewed artifacts) you have to add a new data source for comments.
And use this as source. The resourceURI is the UUID of the review itself.
https://server:port/rm/publish/comments?resourceURI=_b1w5EKeqEeKEIpoYeXGOHw
This will return all the comments that exist in the review, this is true for any other artifact as well.