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

How to delete work item links in DNG modules

 I want to remove the link between the DNG module and the work item. 


I'm trying to delete it by the following method. But it won't be deleted.

How do I remove the link in the DNG?
Source code uses OSLC

In addition, only certain links should be removed. I don't know how to do that.

-----Delete LInk
Requirement req = getDNGContentsFromTitle(dngName, false);
          final Link[] deleteLink = new Link[0];

req.setImplementedBy(deleteLink);

-----(Note) 
Link creation is done in the following way.

req.addImplementedBy(new Link(new URI(rtcUri)));

-------Link work items to DNG
(implements Requirement Links)
Link work items to DNG

--DNG Link to WorkItem

0 votes



One answer

Permanent link

The Implemented By link is owned by the work item, not the requirement. So the link can only be removed by updating the work item.

1 vote

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
× 12,019

Question asked: Apr 08 '22, 4:01 a.m.

Question was seen: 956 times

Last updated: Apr 11 '22, 12:18 a.m.

Confirmation Cancel Confirm