It's all about the answers!

Ask a question

How do I get the OSLC link of a Requirement?


Arvind Madhavapeddi (112) | asked Jul 29 '19, 2:00 a.m.

How do I get the OSLC link of the Requirement having ID “313953” for example.

<o:p> </o:p>

https://jazz.net/library/article/1197 has lots of information it would be helpful if you can give me some specific steps to obtain this. <o:p> </o:p>

 I am particularly interested in more details on the steps below on how to obtain the URL itself. I am able to get the CATALOG, Link to my specific project. After that how do I get the link such as: https://grarrc.ibm.com:9443/rm/resources/_mLHpsbrhEeG3OKR6fZ1svQ for a particular requirement given its ID through REST API.

<o:p> </o:p>

I believe it has something to do with OSLC query capabilities. Can anyone please suggest an example or steps to get the OSLC requirement link.

On the larger picture I am trying to get this link because I want to do the test case requirement ID linking through REST API.

One answer



permanent link
Manjunath Badiger (3229) | answered Jul 29 '19, 2:18 a.m.

 Hello,


Try something like this to get Requirement ID Details in the form of XML, so that you can get other required details such as Project ID, Filed Against etc in the XML.



Regards.

MB.


Comments
Arvind Madhavapeddi commented Jul 29 '19, 2:50 a.m. | edited Jul 29 '19, 2:57 a.m.

Manjunath Badiger commented Jul 29 '19, 6:36 a.m.

What all details you are getting in the CATALOG. 


Arvind Madhavapeddi commented Jul 30 '19, 1:54 a.m.

I am getting XML response with RM projects catalog and their details like title, details, consumer registry and services with rdf resource links

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.