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 |
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. |
Someone sent me a suggestion by email that was a big help to me. There is also a convenience method for this: handle.sameItemId(otherHandle); Regards, Patrick Jazz Work Item Team |
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.