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

How does one determine if one work item links to another

How can I figure out if one work item has a link that goes to another particular work item? For example if I have a handle to a work item, IWorkItemHandle, how can I determine if another work item has a link to the work item identifed by that handle?

I tried getting the endpoint of the links, but I wasn't sure how to compare them.

Thanks for your help,

Gaston

0 votes



2 answers

Permanent link
Someone sent me a suggestion by email that was a big help to me.

For comparing two items handles there is a method getItemId() on IItemHandle which returns a UUID. If the two UUID's are equal, then the two handles point to the same item.

0 votes


Permanent link
Someone sent me a suggestion by email that was a big help to me.

For comparing two items handles there is a method getItemId() on
IItemHandle which returns a UUID. If the two UUID's are equal, then
the two handles point to the same item.

There is also a convenience method for this:

handle.sameItemId(otherHandle);

Regards,
Patrick
Jazz Work Item Team

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,930

Question asked: Oct 06 '08, 3:43 p.m.

Question was seen: 5,887 times

Last updated: Oct 06 '08, 3:43 p.m.

Confirmation Cancel Confirm