It's all about the answers!

Ask a question

Auto Populate timestamp during work item state transition


varun poshala (116) | asked Jul 25 '19, 3:16 a.m.

 I am looking for a way where i can auto populate the timestamp when a work item is moved from draft state to In Progess state in a custom created attribute hence i can calculate the aging . 

One answer



permanent link
Ralph Schoon (63.1k33646) | answered Sep 18 '19, 6:08 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER

 There is aging support available: https://jazz.net/library/article/1562 check if that is enough. 


The best option is to use a Java Server extension as this can detect a state change easily. But it is expensive. 

Another way you can try to implement this is a script based calculated value https://jazz.net/wiki/bin/view/Main/AttributeCustomization#Script_based_calculated_values . You can not really detect the state change very well here, but I think you can. Be dependent on the state look up the state and if the state is the desired one and the value of the custom timestamp is empty (whatever that means for a timestamp), copy the modified date over. It might be necessary to save again.  

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.