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

how to get list of streams and artifacts in RM Project area using OSLC?

Hello All,

For Example I have a RM Project JKE Banking(Requirement Management)  and 2 streams in this Project Area

1. JKE Banking(Requirement Management) Initial Stream
2.  JKE Banking(Requirement Management) Final Stream
and there is 3 artifacts in JKE Banking(Requirement Management) Final Stream. I need to access this 3 artifacts using OSLC API.

I am using OSLC Version 2.0

Is it possible to get this information using OSLC API?

Please Help.

0 votes



3 answers

Permanent link

 Hi Asha,


Request URL:

https://server/rm/cm/component/_ft0CYJtZEeu1Bb7mvc1TIQ/configurations

Parameters:

<component identifier> - _ft0CYJtZEeu1Bb7mvc1TIQ

Method: GET

Headings:

·       Accept - application/xml <o:p> </o:p>

·       Content-Type - application/xml <o:p> </o:p>

·       OSLC-Core-Version – 2.0 <o:p> </o:p>

· 

0 votes


Permanent link

The 'proper' way to do this is through discovery (without hardcoding further URLs) start from /rm/rootservices, following a chain of urls on specific rdf tags, on the basis that even if the rm implementation changes those rdf tags won't change and if you do the discovery properly it will continue to work as DOORS Next develops.


There's an example of this discovery from rootservices to components/configurations in my answer here: https://jazz.net/forum/questions/266334/dng-oslcfetch-components-from-project-area

0 votes

Comments

Ian,


No one was sugesting hardcoding urls. You should get list of components and project first.

1 vote


Permanent link
 The 'proper' way to do this is through discovery (without hardcoding further URLs) start from /rm/rootservices, following a chain of urls on specific rdf tags, on the basis that even if the rm implementation changes those rdf tags won't change and if you do the discovery properly it will continue to work as DOORS Next develops.

There's an example of this discovery from rootservices to components/configurations in my answer here: https://jazz.net/forum/questions/266334/dng-oslcfetch-components-from-project-area
My Balance Now

Hello,

Thanks for the update and quick reply. I'll be sure to keep an eye on this thread. Looking for the same issue. 

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

Question asked: Jul 06 '17, 3:40 a.m.

Question was seen: 2,241 times

Last updated: Dec 16 '21, 12:32 a.m.

Confirmation Cancel Confirm