How to measure the time from when the work item is created to the time it is marked Done in RTC?
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
·
|
Accepted answer
Ralph Schoon (63.3k●3●36●46)
| 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
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.