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

How to create link of type parent of(child of) through OSLC rest API in DOORS NG 6.0

 We have a requirement where in we need to create link on requirement such as parent of(child of) through OSLC rest API. This article (https://jazz.net/library/article/1197) on explain link which are defined in OSLC Spec.


Kindly guide me to any article or sample way to create a link through rest api java client. 
 

0 votes



One answer

Permanent link

 Normally in order to create links like Implemented By or Validated By you would do a OSLC get to the artiafct that's going to contain the link and then add an entry in the rdf metadata of the artifact like this



and then do a OSLC PUT to create the link. That's to links to other apps like ccm or qm
But for DNG's internal owned links like Parent Of i think you can do a PUT to the links service with some metadata like this

<rm:Link rdf:about="">
<rm:hasAttrVal rdf:parseType="Resource">
<rdf:value>739</rdf:value>
</rm:hasAttrVal>
</rm:Link>
</rdf:RDF>

you can open the developer's tools in your browser and create a link in the DNG UI to see the headers passed to the request.

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,952

Question asked: Jul 30 '19, 2:24 a.m.

Question was seen: 2,411 times

Last updated: Jul 24 '20, 10:40 a.m.

Confirmation Cancel Confirm