It's all about the answers!

Ask a question

How to measure the time from when the work item is created to the time it is marked Done in RTC?


Salman Shaikh (2321559) | asked Jun 17 '15, 12:23 p.m.

Can someone help me to work on the following metrics for the dashboard:

 ·         Time To Resolve (By Type Story,  Defect)

o   This metric would measure the time from when the work item is created to the time it is marked Done

·        
How can i calculate this value in any custom attribute , secondly how can i map this on Dashboard.

Accepted answer


permanent link
Ralph Schoon (56.6k23642) | answered Jun 19 '15, 2:41 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER
 If you want to calculate this in a custom attribute, you could try to use JavaScript. See https://jazz.net/wiki/bin/view/Main/AttributeCustomization and  Process Enactment Workshop for the Rational solution for Collaborative Lifecycle Management lab 5 for details. You could compute the time difference between the creation date and the current date.

It is however hard to detect a sate change in JavaScript. Some have done it for some purposes, but it is not easy.

The best way to achieve this in my perspective is a follow up action on save on the server. Same mechanics, but easier and more accurate. See https://rsjazz.wordpress.com/2012/07/31/rtc-update-parent-duration-estimation-and-effort-participant/ for a follow up action that saves data to attributes and see https://rsjazz.wordpress.com/2014/05/26/only-owner-can-close-workitem-advisor/ for how to detect a state change.
Salman Shaikh selected this answer as the correct answer

Your answer


Register or to post your answer.