It's all about the answers!

Ask a question

Do the RM client extensions provide access to the comments in a module?


Christian El Salloum (11) | asked Nov 04 '21, 12:47 p.m.

We would like to write an extension that needs to access the comments of an artifact. However, the documentation doesn't mention how to do this. 


Is it in general possible to access comments via the RM client extension API?

One answer



permanent link
Bartosz Chrabski (3.4k22949) | answered Nov 04 '21, 12:50 p.m.

 Use DNG reportable API to get access to the comments.



Comments
Christian El Salloum commented Nov 04 '21, 1:00 p.m.
Thank you very much for this feedback!

Our current plugin (which does also a lot of other stuff in a particular view) is using the RM client extension API. 

Is your proposal, that we extend the plugin by making a js fetch call to the REST endpoint, so mixing RM client extension API and REST calls to the DNGReportableRestAPI?

Bartosz Chrabski commented Nov 04 '21, 1:17 p.m.

Client Extension API does not provide support for comments so you need to send HTTP Get request to reportable API.


You have allcthe neccessary data in client extension api including configuration and components.

It is common to mix client extension api with oslc and reportable api.

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.