How to links artifacts/Requirements using Custom link in DNG through OSLC rest api
Hi,
I have created Custom link in DNG/RRC project area(Setting->Manage Project Properties->Link types->Add). Consider the link type "YYY"(bi-directional yyy1->yyy2) I want to link RRC/DNG artifacts(Requirement type) using above custom link type("YYY"). How can I achieve this using OSLC rest API. Sample code for same will be very much helpful. Thanks in advance |
4 answers
Hi,
The support to create internal links via OSLC was added in RDNG 5.0.2. If you are on that version, the easiest way to handle is manually add a link to an artifact, do an OSLC GET to that artifact and you will see how it is represented. Use that to add more entries for new links you want to create. Comments
Nilesh Patil
commented Apr 17 '15, 1:51 a.m.
Hi Gabriel,
|
Hi,
In 5.0 you will not be able to create new internal or customer links, you will have to move to 5.0.2. I think that in 5.0 you will have the links exposed as read only in OSLC GET to teh artifact, entries representing those links will looks like : <rm_property:_s2YtoeUGEeSLk4svMxbYqg rdf:resource="https://gradev1.ibm.com:9444/rdm/resources/_pAPcIeT-EeSLk4svMxbYqg"/> Links only show up in the originator artifact, so if they do not show up in one oslc get try to get the other link end point. |
Hi,
In 5.0 you will not be able to create new internal or customer links, you will have to move to 5.0.2. I think that in 5.0 you will have the links exposed as read only in OSLC GET to teh artifact, entries representing those links will looks like : <rm_property:_s2YtoeUGEeSLk4svMxbYqg rdf:resource="https://gradev1.ibm.com:9444/rdm/resources/_pAPcIeT-EeSLk4svMxbYqg"/> Links only show up in the originator artifact, so if they do not show up in one oslc get try to get the other link end point. |
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.