- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-22-2017 07:37 AM
Hi everyone
We are traying to find how long a ticket has been in each state before been closed. Any report or idea?
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-23-2017 07:04 AM
Make sure that one of your filter criteria is:
Definition is Incident State Duration
That will only give you metrics associated with when the state changes.
Also, make sure you have the duration filter [Duration(mi_duration) greater than 0] in there also, or else your calculations will be skewed way down because the duration associated with the closed state will always be zero, since that state never changes.
Hope this helps,
--Dennis R
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-22-2017 10:05 AM
You can use several of the existing metrics, e.g. "Incident State Duration" for this. Take a look at the Metric table. More info can be found here:
For reporting you can use the existing database views:
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-22-2017 10:46 AM
Thanks for your answer Jochen
Do you know how can I access to Database view? Wich option do I need?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-23-2017 05:56 AM
You can access the view just like a normal table. It's called Incident Metric [incident_metric]
I've created a sample report in my personal instance and pasted a screenshot below so you can see exactly what it looks like. A couple of notes that might be helpful:
- When you look at the Duration, make sure you look at the Duration(mi_duration) field, which is the duration the incident was in that state. The Duration(inc_calendar_duration) field is the duration of the entire incident from open to resolution.
- When looking at the state, make sure you're looking at the Value field, which is the incident state of the metric. The State field is the current "live" state of the incident, not the state that was recorded by the metric.
- Feel free to add any additional filters you want, such as incidents opened after a specific date/time, or in a specific group, etc.
Hope this helps,
--Dennis R
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-23-2017 06:36 AM