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 (22411) | 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 (60.7k33643) | 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.