Jazz Forum Welcome to the Jazz Community Forum Connect and collaborate with IBM Engineering experts and users

How to send the emails to the developer whos review in DNG is in open state

 Hi Team,


I am using DNG 6.0.6.1 Version. The request is to send an email to the developer whose DNG review is in Open state.
Is any OSLC or restful APIs are there?
If we create any java application then will it work for the same? Or what is the better solution for the same.

0 votes


Accepted answer

Permanent link

 You can find all the APIs here: https://jazz.net/wiki/bin/view/Deployment/CLMProductAPILanding


DNG provides several APIs you could try to use for automation.
  1. The OSLC API
  2. The reportable REST API
Another option would be to use report builder to create the data to run an application that sends e-mails.

There are other APIS for DNG - see landing page - but the ones I listed are the most likely ones. For both of them you would use a language and/or framework and create a client that would run every now and then and do its thing. Some examples for similar APIS for EWM (and Python) can be found here: in this article series: https://rsjazz.wordpress.com/2022/03/02/ewm-reportable-rest-api/

I would probably want to suggest to take a look at PyPI https://github.com/IBM/ELM-Python-Client . I believe you could use it to run OSLC queries e.g. for requirements with reviews, if the API exposes this.

KT PD selected this answer as the correct answer

0 votes


One other answer

Permanent link

 Hi,


I am trying to fetch review resources using below restful API:

https://server name/rm/publish/reviews/*

but it is showing 400 bad request.

Please assist.

0 votes

Comments

Sorry, but I am  not able to develop stuff for others for free. It might be not possible to get the data using the reportable REST API, not sure. See the discussion here: https://jazz.net/forum/questions/279779/dng-rest-api-how-to-get-review-data 

My current conclusion is that getting the reviews is only available through a private API.
You might want to raise an enhancement request.

Here the links I found that also mention the private API.


Once you have the UUID for the review, you can use other APIs to get more data. One example is the reportable REST API where you provide a filter (the UUID) for the review you are interested in.

Please have a look at Ian Barnhards answer in https://jazz.net/forum/questions/279779/dng-rest-api-how-to-get-review-data/279816


If you have the URL or the URI of the review, you can use the reportable REST API to get the details using the URL or URI. E.g. 

GET  https://elm.example.com:9443/rm/publish/reviews?resourceURI=_W3DAsdwWEeyBQL3vdYSD6Q

Where _W3DAsdwWEeyBQL3vdYSD6Q is the resource URI of the review.

Your answer

Register or log in 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.

Search context
Follow this question

By Email: 

Once you sign in you will be able to subscribe for any updates here.

By RSS:

Answers
Answers and Comments
Question details

Question asked: May 20 '22, 2:01 a.m.

Question was seen: 868 times

Last updated: May 25 '22, 8:20 a.m.

Related questions
Confirmation Cancel Confirm