Double linking in java extensions
![]()
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:
saveParameter.getNewReferences();
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?
item.getNewReferences();
Thanks
|
Accepted answer
![]()
Ralph Schoon (63.3k●3●36●46)
| answered Aug 22 '16, 7:52 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER
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: https://rsjazz.wordpress.com/?s=link+api and https://rsjazz.wordpress.com/2012/07/31/rtc-update-parent-duration-estimation-and-effort-participant/
Philipp H selected this answer as the correct answer
|
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.