P1&P2 incident closure duration
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-31-2023 04:30 PM
Hi,
We need to calculate the P1&P2 incident closure time as "calculate Hours of Full Business Disruption = {(Resolved Time – Open Time) – (Resolved 2nd time – Re-Opened Time)}"
for example a incident created today at 5 PM and closed 5:10 PM and tomorrow it reopened at 11 AM and closed at 1 PM then it should show the total time i.e first 10 mins closure and second 2 hrs closure so in total 2 hrs 10 mins.
Can anyone help me how we can archive this by metric definition?
Thank you!

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-31-2023 05:06 PM
Hi @Anku Sharma1 ,
Configure the definitions in Metrics directly. They are easy to configure, you just need to mention the Resolved_at and Opened_at field in it.
Once you get the data in metrics table you can write a script and get the total time.
Please mark correct if my response has solved your query.
Cheers,
Mohammed Basheer Ahmed.