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

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

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

0 votes


Accepted answer

Permanent link
 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

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
× 7,495
× 1,220

Question asked: Jun 17 '15, 12:23 p.m.

Question was seen: 11,593 times

Last updated: Jun 19 '15, 2:41 a.m.

Confirmation Cancel Confirm