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

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

0 votes


Accepted answer

Permanent link
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

0 votes

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
× 10,949

Question asked: Aug 22 '16, 5:22 a.m.

Question was seen: 1,183 times

Last updated: Aug 22 '16, 7:52 a.m.

Confirmation Cancel Confirm