Duration of time by State "Open" and" Work in Progress"
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-15-2025 08:38 AM
I have been tasked with creating metrics for measuring the length of time a ticket is in the "open" state and "work in progress" state. Is there an out of the box way to calculate this metric? BTW I am using Washington DC. Thanks in advance for your help.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-15-2025 08:18 PM
If metrics is enabled you can make use of the metric_instance table and create a bar graph something like below:
Assuming, Incident table here:
Group by ID and Aggreation Sum for Duration field give you the result which you want.
Hope this helps
Murthy
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-15-2025 08:25 PM
yes out of the box there are metrics for incident for this
you can refer those and create something similar for your case and then have reporting on it
If my response helped please mark it correct and close the thread so that it benefits future readers.
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-16-2025 01:30 PM
Any idea how to create the report based on that metric? I already have the metric that calculates the time spent on each status of the case.
But I need to build a report that can give me the information.
- Assignment Group. (this information in on the case)
- Assigned To (this information in on the case)
- Time spent on each state (this information is on the metric)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-16-2025 03:49 PM
Gotcha! In this case you need to create a database view something like below:
where your case_sys_id = mertics_id and include your column information and then create a report on your database view:
I just created and it worked perfectly in PDI.
Murthy