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
I tried getting the endpoint of the links, but I wasn't sure how to compare them.
Thanks for your help,
Gaston
2 answers
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