It's all about the answers!

Ask a question

calculate the time that a work item was in the previous state

Cristian Gonzalez (11) | asked Sep 06 '16, 12:51 p.m.
i need view in a attribute, the time that a work item was in a previous state
 I have a Work Item Task in state new, when change the state to "in progress", I need view the total time that work item was in the state new

2 answers

permanent link
Lily Wang (4.9k714) | answered Sep 09 '16, 3:54 a.m.
You can implement the function using Script-based Calculated Value Provider. For the general usage, please refer to
You can also find there are similar discussions about detail script implementation. For example:

permanent link
Cristian Gonzalez (11) | answered Sep 12 '16, 3:00 p.m.
Hi lily
i have a value calculated, with the code of the link
I need that the return, have the value in milliseconds, i need to show the result in Days, hours and minutes

The code of the link, show the value in Integer
what i can do?

Lily Wang commented Sep 12 '16, 8:25 p.m.

Your answer

Register or to post your answer.