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

Removing link using POST request

We have linked base artifacts in DOORS Next to test cases in ETM. We are developing some utility to remove "Validated By" links from base artifacts and then add link to corresponding module artifacts.

How can we remove link using POST against OSLC API? Any example (with request URL, headers and body) will be really helpful.
Thank you in advance.

1

0 votes

Comments

Validated By links from ETM are stored in ETM, so you'll have to update the test case in ETM by GET then PUT with the links removed.



One answer

Permanent link
Follow this link https://www.google.com/search?q=oslc+remove+links+site%253Ajazz.net. Essentially you get the element, remove the links from the XML and then you post the XML. If you look for more examples see https://rsjazz.wordpress.com/2022/02/02/ewm-work-item-oslc-cm-api/ 


Note, there was something removing the last link, where you had to use OSLC properties. See https://www.google.com/search?q=oslc+remove+link+properties+site%3Ajazz.net for answers in the forum. 

0 votes

Comments

You can only remove DN->DN links by PUT to DN; all other links are stored in the other app (EWM, ETM, RMM) so that's where you GET then PUT to remove the links.

Yes, you are correct, Ian.

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
× 11,050

Question asked: Jun 30, 8:04 a.m.

Question was seen: 785 times

Last updated: Jul 08, 3:06 a.m.

Confirmation Cancel Confirm