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

how stop counting age of a work item if is closed?

Hello I used the script sample that depends of the modify date and calculate the current age of the work item in days and hours, but I would like to do is if is already closed, is there any way to stop counting? I know that i can get the state value and return null but it erase my current age value, so any other idea?

0 votes

Comments

Hi, Rafael

You may want to consider a logic to save the age value at the closed date, then if the state is closed, return the saved age value instead of null.

Where do you use the "script"? How do you define "age"? Without these details, it would be difficult to suggest any alternatives.


Be the first one to answer this question!

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
× 6,122

Question asked: Mar 29 '16, 2:58 p.m.

Question was seen: 1,361 times

Last updated: Mar 29 '16, 10:51 p.m.

Confirmation Cancel Confirm