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

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

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

0 votes

Comments

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

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

0 votes

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
× 10,938

Question asked: Jun 24 '24, 12:09 p.m.

Question was seen: 468 times

Last updated: Jun 25 '24, 8:50 a.m.

Confirmation Cancel Confirm