How do I find the Current Iteration of a Project Area with the Java Server API?
![]() I'm looking to be able to make changes to a workitem and linked workitems whenever the workitem is moved into our current iteration. Is there anything in the APIs that can find what the project's current iteration is?
|
Accepted answer
![]()
I solved the issue by just casting an IProcessArea as an IProjectArea.
IProjectArea projectArea = (IProjectArea) operation.getProcessArea();
I added this line to the beginning of the run method of my extension and then was able to use IProjectArea's getDevelopmentLines() and IDevelopmentLine's getCurrentIteration() calls to get the current iteration.
Ralph Schoon selected this answer as the correct answer
|