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?
Comments
Don Yang
Mar 29 '16, 8:12 p.m.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.
Donald Nong
Mar 29 '16, 10:51 p.m.Where do you use the "script"? How do you define "age"? Without these details, it would be difficult to suggest any alternatives.