It's all about the answers!

Ask a question

Get WorkItem from a ChangeSet and viceversa


Giacomo Ghezzi (161) | asked Mar 26 '08, 10:02 a.m.
Hi,
I'd like to know if it's possible, given a ChangeSet (IChangeSet or IChangeSetHandle), to get the WorkItem(s) associated to it and viceversa (from a WorkItem get the handles for all the ChangeSets associated to it).
If so, how can I do?
Thanks in advance as the replies I got so far on other topics have been extremely helpful and fast!
cheers
Giacomo

One answer



permanent link
John Camelon (1.7k14) | answered Mar 26 '08, 1:33 p.m.
JAZZ DEVELOPER
To go from the change-set to the work items, @see
IWorkspaceManager#getChangeSetLinkSummary().

When you fetch the ILink's from the summary, if the link type is
"com.ibm.team.filesystem.workitems.change_set" then it will point to a
work item.

HTH,
JohnC

ghezzi wrote:
Hi,
I'd like to know if it's possible, given a ChangeSet (IChangeSet or
IChangeSetHandle), to get the WorkItem(s) associated to it and
viceversa (from a WorkItem get the handles for all the ChangeSets
associated to it).
If so, how can I do?
Thanks in advance as the replies I got so far on other topics have
been extremely helpful and fast!
cheers
Giacomo

Your answer


Register or to post your answer.