Jazz Forum Welcome to the Jazz Community Forum Connect and collaborate with IBM Engineering experts and users

Auto Populate timestamp during work item state transition

 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 . 

0 votes



One answer

Permanent link

 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.  

0 votes

Your answer

Register or log in 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.

Search context
Follow this question

By Email: 

Once you sign in you will be able to subscribe for any updates here.

By RSS:

Answers
Answers and Comments
Question details
× 6,116

Question asked: Jul 25 '19, 3:16 a.m.

Question was seen: 1,800 times

Last updated: Sep 18 '19, 6:08 a.m.

Confirmation Cancel Confirm