calculate the time that a work item was in the previous state
2 answers
You can implement the function using Script-based Calculated Value Provider. For the general usage, please refer to https://jazz.net/wiki/bin/view/Main/AttributeCustomization#Calculated_values
You can also find there are similar discussions about detail script implementation. For example:
https://jazz.net/forum/questions/180890/defect-age-by-state
https://jazz.net/forum/questions/95825/rtc-calculated-value-dependent-on-status-is-triggered-by-any-change
You can also find there are similar discussions about detail script implementation. For example:
https://jazz.net/forum/questions/180890/defect-age-by-state
https://jazz.net/forum/questions/95825/rtc-calculated-value-dependent-on-status-is-triggered-by-any-change
Hi lily
i have a value calculated, with the code of the link
https://jazz.net/forum/questions/180890/defect-age-by-state
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?
i have a value calculated, with the code of the link
https://jazz.net/forum/questions/180890/defect-age-by-state
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?
Comments
You can use "dojo.date.difference".
Please see an example from:
https://jazz.net/forum/questions/83120/how-to-show-the-difference-between-current-date-and-due-date-through-script-based-calculated-value