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

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

0 votes



2 answers

Permanent link
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

0 votes


Permanent link
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?

0 votes

Comments

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
× 7,495

Question asked: Sep 06 '16, 12:51 p.m.

Question was seen: 1,495 times

Last updated: Sep 12 '16, 8:25 p.m.

Confirmation Cancel Confirm