It's all about the answers!

Ask a question

Complete Complete Changesets on Workitem State Change


Mike Pierce (11) | asked Mar 17 '16, 1:55 p.m.

Hi,

I would like to create a follow-up action for workitem save to complete active changesets which are linked to the workitem whenever a specific state is set.

I've written the server side code that accesses changesets from the workitem to where I check whether changesets are Active.  Is it possible to set Active changesets to Complete at this point?

Thanks,

Mike P>

One answer



permanent link
Ralph Schoon (63.1k33646) | answered Mar 18 '16, 3:43 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER
I don't know, you will have to find that out yourself. I think the API call to complete a change sets is

com.ibm.team.scm.client.IWorkspaceConnection.closeChangeSets(Collection, IProgressMonitor)

I am not sure if the is any common or server API that does this.

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.