It's all about the answers!

Ask a question

How can I determine the WorkItem associated with ChangeSet?


Vinod Kumar (9612010) | asked Jan 06 '09, 5:36 a.m.
JAZZ DEVELOPER
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?

One answer



permanent link
John Camelon (1.7k14) | answered Jan 08 '09, 11:18 p.m.
JAZZ DEVELOPER
vkcind wrote:
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
praveen patidar commented Oct 30 '12, 3:59 a.m.

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.


Tim Mok commented Oct 30 '12, 11:27 a.m.
JAZZ DEVELOPER

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.

Your answer


Register or to post 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.