How can I determine the WorkItem associated with ChangeSet?
One answer
vkcind wrote:
see IWorkspaceManager#getChangeSetLinkSummary()
IChangeSetLinkSummary refers to a bunch of ILink with linktypes
com.ibm.team.filesystem.workitems.change_set as defined in
our com.ibm.team.filesystem.common.workitems plugin.
HTH,
JohnC
SCM Server
We can associated a workitem associated with a ChangeSet, but I'm not
a able to figure out how to retrieve the associated WorkItem from a
ChangeSet using API. What will be the most efficient way to do it?
see IWorkspaceManager#getChangeSetLinkSummary()
IChangeSetLinkSummary refers to a bunch of ILink with linktypes
com.ibm.team.filesystem.workitems.change_set as defined in
our com.ibm.team.filesystem.common.workitems plugin.
HTH,
JohnC
SCM Server
Comments
Hello
I want this to be done in process advisor. I am not getting the Provider API to get this done. Please help to get the Workitem related to the Changeset with the serverside API.
Are you trying to use the provider to get the link provider that can get you the links?
You could also use ChangeSetLink#findLinks(...), which will do a lot of the work for you using the provider.