It's all about the answers!

Ask a question

DNG: How to get number of artifacts(count) under shared view selection


Rajat Krishnan (722223) | asked Jun 24, 12:09 p.m.

Dear Community,

I am working on developing a Java based application which help us to get number of artifacts(count) when we select any shared view.

For reference you can also reference the attached screenshot.

Also i did tried hitting this api in rest client but ended up getting this response (Source : https://jazz.net/wiki/bin/view/Main/RRCReportableRestAPI)

 

 

 

API(GET) :

 

https://host/rm/publish/resources?viewName=View_CRS_Reqs_all&projectURI=_AE4pALUfEe6Ul8nmauCi8Q&moduleUri=MD_dvPjobUgEe6Ul8nmauCi8Q

 

 

 

Headers :

 

vvc.configuration: https://host/rm/cm/stream/_Aaa0JrUfEe6Ul8nmauCi8Q

 

Accept: application/xml

 

Please note our RM project is not full configuration management enabled,

In response file you can see that there is no where mentioned total count as 5 , there is something like rrm:totalCount="21" but i don't know what is that

 

Sorry I cannot upload response as it contains company data, but by referring attached image I believe you got what exactly I am looking for

 

 

 DNG Version : 7.0.2, ifix027

Thank you


Comments
Ian Barnard commented Jun 25, 8:39 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER

That's a very old documentation - the correct page for the DOORS Next Reportable REST API is herer https://jazz.net/wiki/bin/view/Main/DNGReportableRestAPI

The entry point for all ELM APIs is here https://jazz.net/wiki/bin/view/Deployment/ELMProductAPILanding

Accepted answer


permanent link
Ian Barnard (2.3k714) | answered Jun 25, 8:50 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER

Hi - the documentation for using the DOORS Next Reportable REST API to get artifacts in a view of a module is here https://jazz.net/wiki/bin/view/Main/DNGModuleViewExternalRequest


The view has to be a shared view.


Using this on an opt-out project, and a view which shows 7 of 92 artifacts, I get 7 results in the XML response.

Rajat Krishnan selected this answer as the correct answer

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.