It's all about the answers!

Ask a question

Export review comments from DNG review


Costas Aravidis (82) | asked Feb 28, 11:35 a.m.

 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

2 answers



permanent link
Davyd Norris (1.5k12) | answered Mar 01, 4:53 p.m.
Have you used the Reviews report built into DNG? You can use that report to produce a detailed summary for a Review, including comments.

The report is available from the menu in the top right of the Review

Comments
Costas Aravidis commented Mar 02, 3:33 a.m.

 Hi Davyd, 


If you have read my case you would have seen that you only put to review the module and not all the artifact in the module. Then you can add review comments in the artifacts of the module by opening the module from the review. 

If you do that and try to print a report from the DNG option you will see that the comments are not coming out in the report.


Davyd Norris commented Mar 02, 8:29 p.m.

OK, so the Module Print Book report is no good for you? Do you want just the comments made in the context of the review or can you accept all of them?


Costas Aravidis commented Mar 09, 12:22 p.m.

 No what it is I have created a review and as reviewed artifact I have selected a module. The assigned reviewers open the module from the review and within the review have added comments to the artifacts included in the module. Those comments can only been seen within the review and not outside of the review.


Davyd Norris commented Mar 09, 7:13 p.m.

Have you opened the module in the review context and then tried to use the Print Module Book report?


permanent link
Costas Aravidis (82) | answered Mar 09, 12:32 p.m.
edited Mar 09, 12:34 p.m.

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


Your answer


Register or to post your answer.