It's all about the answers!

Ask a question

How to retrive the old state of Iteration(IProcessItem) just like we have oldworkitemstate and newworkitemstate for IWorkItem?


aastha khatri (22721) | asked Mar 09 '16, 10:51 a.m.
I am looking for a way to get the previous details of a Iteration. As what I noticed if I save a iteration in the participant I cannot get the previous state. Just like in case of workitem we have  workItemOldState,  workItemNewState I want similar thing for Iteration (IProcessItem)

2 answers



permanent link
Ralph Schoon (63.5k33646) | answered Mar 09 '16, 11:09 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER
You can try to use the IAuditable Interface and get the Predecessor and the merged predecessor state. IAuditable can have a history. I am not sure if it is always stored though.

Comments
aastha khatri commented Mar 10 '16, 6:12 a.m.

Hi Ralph,
I tried using item.getPredecessorState() and mergerPredecessorState() but they both return null.
Is there any other way?
Thanks


permanent link
Tiago Moura (8387) | answered Mar 10 '16, 9:27 a.m.
I don't believe that is possible to do. As Ralph mentioned the iteration history is not kept.

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.