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 |
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.
Comments
Erwin Kunz
commented Apr 18 '13, 5:04 a.m.
Hi Jorge
|
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.
Comments
Erwin Kunz
commented Apr 18 '13, 3:52 a.m.
Hi Edgar
Hi Erwin,
Which version of RRC are you using? I just checked on 4.0.1 and comments created on artifacts during a review doesn't include priority nor summary.
If you want the comments of an artifact in the review (but not the comments written during the review) you can use the same URL on my previous comment with the UUID of the artifact been reviewed.
If there is information missing from the comments created on artifacts during a review, I would suggest you to file an enhancement request :)
Erwin Kunz
commented Apr 24 '13, 7:39 a.m.
There are two ways to add a comment to an artifact during review
Erwin Kunz
commented Dec 11 '13, 5:52 a.m.
https://jazz.net/jazz03/resource/itemName/com.ibm.team.workitem.WorkItem/83553 |
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.