calculate the time that a work item was in the previous state
HI,
i need view in a attribute, the time that a work item was in a previous state Example: 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
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 |
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? Comments
Lily Wang
commented Sep 12 '16, 8:25 p.m.
You can use "dojo.date.difference".
|
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.