It's all about the answers!

Ask a question

Read all artifacts in a Project area using RM Client extension API.

Vaibhav S (106351) | asked Jan 10 '22, 3:47 a.m.


 I need to Read  all artifacts in a Project area using RM Client extension API.

I checked the APIs in article and other previous versions as well but couldn't find any such method.

Please let me know if its possible.


One answer

permanent link
Bartosz Chrabski (3.4k22949) | answered Jan 10 '22, 3:54 a.m.

RM Client extension API does not give you possibility to get all the artifacts in the probject but You can use OSLC or Reportable API.


Vaibhav S commented Jan 10 '22, 4:33 a.m.

Hello Bartoz,

Thanks for the response.

Can you please help me with how to use these APIs in my .js file through which I am implementing my DNG extension.


Chandan M B commented Jan 10 '22, 5:16 a.m.

Hi Vaibhav,

Could you please precise about reading all artifacts mean ?
In a GC Enabled project
  You have to know the component first
  Then you have to read the module
  From the module you can read all the artifacts 

Vaibhav S commented Jan 10 '22, 8:33 a.m.

Hi Chandan, 

The PA is not GC enabled.

Any API to read the Artifacts in PA ? 

Bartosz Chrabski commented Jan 10 '22, 8:43 a.m.

As I wrote, use Reportable API or OSLC. If You will adapt the provided URL to your server reality then you will be able to list artefacts. Be aware that there can be many pages of results.

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.