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

Calculation of Resolution Time for defects which have been marked as Deferred

I calculate the Resolution Time of a defect by subtracting the Creation date from the Resolution date field values.  This works fine in the normal defect workflow moving from New, Resolve, Validate, Closed.

When the defect moves to a Deferred state, the resolution time would be too high, without calculating the On Hold time, i.e., the time when the defect was in the Deferred State.

So is there a method to calculate the Resolution time of a defect minus the the time the defect was in deferred state.

0 votes



One answer

Permanent link

Hi, Maxim

I think you would need to save the date to a custom attribute(such as a hidden attribute) when the state is set to 'deferred' and then use calculation javascript to calculate further.
There are many posts in forum on how to do similar things, such as

https://jazz.net/forum/questions/213456/capturing-the-date-when-state-changes-in-rtc
https://jazz.net/forum/questions/168883/set-workflow-stateaction-via-javascript

 

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
× 12,014

Question asked: May 18 '17, 10:11 a.m.

Question was seen: 2,076 times

Last updated: May 19 '17, 12:07 a.m.

Confirmation Cancel Confirm