It's all about the answers!

Ask a question

How to export the review comments related to artifacts in module context?


Lakshmi Narayanan (1111) | asked Mar 20 '19, 5:02 a.m.

We have created review for a specific module and reviewer added review comments in the artifacts level(module context). We need list of review comments from DNG. Tried using "Generate Report for View" using Review RPE template. It is generting the review comments at module level and not at artifacts level.

Tried "Generate Report for View: Print Module Table RPE template but it prints only the comments and not review comments.

is there a way to export the review comments with the exisiting predefined templates?

Thanks,

Lakshmi

7 answers



permanent link
Subramanya Prasad Pilar (4.6k16) | answered Mar 20 '19, 5:07 a.m.
I suppose you are using review.dta (that comes with with DNG) and generating document through RPE. To include comments on artifacts, you should append includeComments=true to the data source URI. That is, set URI for reviews data source to
https://<sppserver>:9443/rm/publish/reviews?resourceURI=_CVFwoUrhEemyNeue7RMv2Q&includeComments=true

permanent link
Lakshmi Narayanan (1111) | answered Mar 21 '19, 7:32 a.m.

 Thanks Prasad for your quick reply. I tried include comments = true which is giving only the module level comments and not review comments that was part of artifacts. 


permanent link
Harrison Vince (45117) | answered Jul 21 '19, 11:56 p.m.

 Hi, was a solution ever found for this?  For RPE to access the "review comments" from within a module being reviewed?


Comments
Harrison Vince commented Jul 22 '19, 1:27 a.m.

 It appears that RPE can find that the comment is there, using the text publish of the artifact within the module and specifying the configuration that the review is in. ie: https://<sppserver>:9443/rm/publish/text?resourceURI=_CVFwoUrhEemyNv2Q&oslc_config.context

this returns a comment url of the form:  
https://<sppserver>:9443/rm/publish/comments?resourceURI=https://<sppserver>:9443/rm/resources/MB_4ef67dc07358e76f8352954ed59
querying this and variations of it do not fail, they just return no data.


1
Lakshmi Narayanan commented Jul 22 '19, 7:10 a.m.

Thanks Harrison for your response. IBM confirmed that they dont provide the Artifacts level comments as of now. XML can return only at the module level comments.



permanent link
Julie DeMeester (13616) | answered Jun 29 '20, 3:27 p.m.

 Can you confirm when this capability will be available - we need the comments from the review for auditing.  Thanks, Julie


permanent link
Shriraam Balasubramanian (4031339) | answered Apr 20 '21, 10:25 a.m.

 Is there an update on how you can include Artifact Review Comments in an export?


Best regards


permanent link
Shriraam Balasubramanian (4031339) | answered Apr 20 '21, 10:34 a.m.

 Hello Subramanya,


Can you explain more about including comments on artifacts?

append includeComments=true to the data source URI. That is, set URI for reviews data source to
https://<sppserver>:9443/rm/publish/reviews?resourceURI=_CVFwoUrhEemyNeue7RMv2Q&includeComments=true

Where will I find this option?

Thanks.


permanent link
Subramanya Prasad Pilar (4.6k16) | answered Mar 07 '22, 9:33 a.m.

 https://<server:port>/rm/publish/comments?resourceURI=<artifactUUID>&artifactReviewUri=<ReviewURI> should give review comments on the individual artifacts. You can also append oslc_config.context parameter if needed.

Your answer


Register or to post 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.