What is the best way to fetch all the iterations in a hierarchical manner ?
What is the best way to fetch all the iterations in a hierarchical manner ?
Currently I am iterating over all the development lines and fetching iterations. For projects which have a lot of iterations, say around 1000, it takes around 10 minutes to fetch all the iterations.
Is there a better way to do this?
Currently I am iterating over all the development lines and fetching iterations. For projects which have a lot of iterations, say around 1000, it takes around 10 minutes to fetch all the iterations.
Is there a better way to do this?
One answer
In general, especially for API's never have expectations. What you think is most efficient in a specific use case you have does not necessarily represent anything that is efficient for the tool. For example, the API is optimized to act as a UI and not to be easy for a automation developer.
I have published the code I usually use for iterations here: https://rsjazz.wordpress.com/2012/10/05/handling-iterations-automation-for-the-planned-for-attribute/
The code is used in some of the automation I have done. Not sure anymore what it was. I also created some helper classes. Usually the challenge is to have text and map it to the real objects in the tool.
It is still unclear why you want to do this, so no idea.
The structure is
I have published the code I usually use for iterations here: https://rsjazz.wordpress.com/2012/10/05/handling-iterations-automation-for-the-planned-for-attribute/
The code is used in some of the automation I have done. Not sure anymore what it was. I also created some helper classes. Usually the challenge is to have text and map it to the real objects in the tool.
It is still unclear why you want to do this, so no idea.
The structure is
IDevelopmentLine
IIterationhandle = IDevelopmentLine.getIterations() // The top level iterations
IIterationhandle.getChildren() // Nested inside an iteration
Comments
Ralph Schoon
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER Apr 18 '16, 3:01 a.m.Arshad Adavani
Apr 18 '16, 5:00 a.m.