It's all about the answers!

Ask a question

How to delete work item links in DNG modules


Kodac Hasubo (367) | asked Apr 08 '22, 4:01 a.m.
edited Apr 08 '22, 5:03 a.m.

 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

One answer



permanent link
David Honey (1.8k17) | answered Apr 08 '22, 5:18 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER

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.

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.