It's all about the answers!

Ask a question

capture the date when state change

Vijay Panari (1115) | asked Jul 16 '20, 3:37 a.m.

 Hello Team,

Need some help to get dojo script for set calculated value.

One answer

permanent link
Ralph Schoon (63.3k33646) | answered Jul 16 '20, 4:47 a.m.
The JavaScript attribute customization does not provide any means to perform automation on state change. It is not possible to detect a state change and to do something based on it. You can only get the current work item information e.g. the state or attribute data.

I know some users have used tricks storing timestamps e.g. the last modified time to be able to detect a state change had happened and do something with that information. I am not necessarily a fan of those approaches.

Please check which is a summary of what I learned and what my best practice have been die to that.

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.