It's all about the answers!

Ask a question

Double linking in java extensions

Philipp H (53615) | asked Aug 22 '16, 5:22 a.m.
 Hi everyone,
So I know that double linking is impossible via queries (as I asked here)
But is it possible in a java server extension?

For example I get linked/referenced workitems from my SaveParameter like this:

But can I do the same from an already referenced workitem like this?

IWorkItemReferences ref = saveParameter.getNewReferences();
//... get specific workitem and resolve it
IWorkItem item;

//is something like this possible?


Accepted answer

permanent link
Ralph Schoon (63.3k33646) | answered Aug 22 '16, 7:52 a.m.
The save parameter in an advisor or participant only gives the information about the item that causes the operation. However, it is possible to access the references of a work item. These posts explain the API: and
Philipp H selected this answer as the correct 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.