Get WorkItem from a ChangeSet and viceversa
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
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
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:
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