It's all about the answers!

Ask a question

multiplicity on custom link types is not checked on linked workitem

Fabian Ehls (1157) | asked Oct 16 '12, 9:19 a.m.

We developed a custom link type plugin and create a link type in the plugin.xml:

Note the different multiplicity on source and target endpoint.

So, when i work on workitem "a" and link a second workitem "b", RTC automatically removes the first link to a workitem "a". [0..1]

But when i work on two different workitems "b" and link the exact same workitem "a", i end up having a workitem a with two linked workitem "b", which should not be possible.

It seems that RTC does not check whether the linked workitem already has a link of that type.

The expected behavior is that RTC shows an error message or that the old link is overwritten. 

It would be nice to have some comments on this issue. I want to assure that our implementation and understanding is correct before opening a bug.

One answer

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.