How to access RRC Comment Summary and Priority using RPE / REST
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
Hi Edgar
I don't need more info of the comment of the review; but of the comments of the reviewed artifacts.
When you write a comment during a review on a specific artifact you enter a Summary, a Text, and a Priority.
The text is exposed at aggregatedContent/reviewArtifacts/reviewComments/reviewArtifact/reviewParticipant/reviewComment/div
But no Summary nor Priority.
I didn't find it elsewhere up to now, but based on Jorge input I think I found it.
e.g. content/comments/priority
do you think it would make sense to write an enhancement request to have those two attributes exposed as well in the aggregated content?
erwin
Hi Erwin,
There are two ways to add a comment to an artifact during review
a) Review with comment: there you have only Text
b) add a comment to the artifact; there you have summary, text and prio
Both types of comments are handled and marked as Review Comments. They appear as review comments in the document. But no Summary or Priority of type b)
I'll create a enhancement request to enhance the REST API
https://jazz.net/jazz03/resource/itemName/com.ibm.team.workitem.WorkItem/83553