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

Possible to create a calculated attribute displaying the number of days a work item has been in its current state ?

I need to create a work item custom field which would display the number of days the work item has been in its present state.

e.g. when a Defect is in New state, the field would display the number of days it has been in this New state, then when the Defect moves to InProgress state, the field would display for how many days it has been in this InProgress state.

Is this possible ? If Y, any hint welcome.

Thanks  

0 votes

Comments

you would have to write a java participant extension to accomplish this. the javascript calculated value service doesn't give u the ability to see state changes, or state history.
see the extensions workshop https://jazz.net/library/article/1000



One answer

Permanent link
 The data in RTC is static until you update it in some way, i.e., opening a WI will not show you a different value in the field you are talking about without some automation.

You can capture the date/time you enter a state easy enough using scripting, and then either use the dashboard, or some other reporting mechanism to determine how long you have been in that state.

Alternatively, if you have Insight, I believe you can report on the sort of thing your talking about.

0 votes

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

Question asked: Jun 27 '14, 9:16 a.m.

Question was seen: 5,660 times

Last updated: Jun 29 '14, 6:59 p.m.

Confirmation Cancel Confirm