P1&P2 incident closure duration

Anku Sharma1
Giga Contributor

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!

 

 

 

 

1 REPLY 1

Basheer
Mega Sage

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 hit like button if my suggestion has helped you in any way.
Please mark correct if my response has solved your query.

Cheers,
Mohammed Basheer Ahmed.