Jazz Forum Welcome to the Jazz Community Forum Connect and collaborate with IBM Engineering experts and users

How can I determine the WorkItem associated with ChangeSet?

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?

0 votes



One answer

Permanent link
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

0 votes

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.

Your answer

Register or log in 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.

Search context
Follow this question

By Email: 

Once you sign in you will be able to subscribe for any updates here.

By RSS:

Answers
Answers and Comments
Question details
× 10,937

Question asked: Jan 06 '09, 5:36 a.m.

Question was seen: 6,431 times

Last updated: Oct 30 '12, 11:27 a.m.

Confirmation Cancel Confirm