Java API - Order of iterations
![]() Hi,
Let´s assume the following timeline/Iteration sequence:
TL1 --Iteration 2 --Iteration 1
Is there any way to change this through Java API to the following sequence TL1 --Iteration 1 --Iteration 2
I haven´t found any api call that can help me in order to do this.
Best regards
Alexander |
One answer
![]() I haven't done that myself, but Have you tried using the following method? void com.ibm.team.process.common.IIteration.insertChildAfter(IIterationHandle child, IIterationHandle anchor)
Inserts the iteration identified by the given handle into the list of child iterations right after the given anchor. In order to complete the bi-directional relationship, callers must also set this iteration as parent of the new child. If the given iteration is already a child of this iteration, this method does not have any effect. If the anchor is
And then save both iterations at the same time with IProcessItem com.ibm.team.process.client.IProcessItemService.save(IProcessItem processItem, IProgressMonitor monitor) |
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.