Export review comments from DNG review
![]() I have created a DNG review and I have added a module to be reviewed. Then I have added the reviewers and I set it of to review the module and all the artifacts within the module.
How can I export the review comments on the individual artifacts that the reviewers have introduced? DNG shows that are review comments against the artifacts you can reply to the comments but when you try to produce a reports those comments do not come out.
If it is not possible in DNG directly can it be done in RPE? I have been trying with RPE but I cannot get the REST api to get the specific comments out.
We are using JTS 6.0.6 and RPE 7.0.2
Kind regards,
Costas
|
Accepted answer
![]() For anyone else having the same issue I have raised a case with IBM, so if you want to get the review comment from the module artifact then you need to create a template that the data source is a review and you pass that the review information as
https://<server:port>/rm/publish/reviews?resourceURI=<reviewUUID>
With https://<server:port>/rm/publish/reviews?metadata=schema as schema for the review
Then by going through the attached artifacts of the review when you find the module that you need you can reconfigure the module data source with a dynamic configuration element.
Then you can get the artifacts of the module and reconfigure a comment data source with schema https://<server:port>/rm/publish/comments?metadata=schema
The URI that you need to pass in the comments data source is of the following form:
https://<server:port>/rm/publish/comments?resourceURI=<artifactUUID>&artifactReviewUri=<ReviewURI>;
where artifactUUID can be taken from the about of the context binding from the module data source and the review URI constructed from the initial review data source in the form of https://<server:port>/rm/reviews/<ReviewUUID>
Kind regards,
Costas
Ian Barnard selected this answer as the correct answer
|