Duration of state changes in resolved tickets

Codi
Tera Contributor

Hi Guys I need some help regarding for the report creation. The requirements of the report is how long the Resolved tickets stays in  Awaiting caller or Awaiting vendor. Is it possible to create this kind of report?

 

Regards

 

1 ACCEPTED SOLUTION

Hi @Codi ,

 

No script is needed. If you just create the metric instance in https://dev157880.service-now.com/now/nav/ui/classic/params/target/metric_definition_list.do%3Fsyspa... (change dev157880 to your preferred instance) according to my previous response, then it should work. for every on hold reason. 

 

AndersBGS_1-1694670858645.png

 

If my answer has helped with your question, please mark my answer as accepted solution and give a thumb up.

 

Best regards

Anders 

 

 

If my answer has helped with your question, please mark my answer as the accepted solution and give a thumbs up.

Best regards
Anders

Rising star 2024
MVP 2025
linkedIn: https://www.linkedin.com/in/andersskovbjerg/

View solution in original post

8 REPLIES 8

Shruti
Mega Sage
Mega Sage

Hi,

Navigate to Metrics -> Definitions. 

Create a new metric definition as per your requirement

 

For reporting 

Create a list type of report on 'metric_instance' table

Alex Tod1
Kilo Sage

Hi @Codi,

 I think it's possible, I would do it in the following way:

      1. I would create a field in which I save the time spent in those states (scripting is needed)

      2. I would create the report around that field/fields.

Samaksh Wani
Giga Sage
Giga Sage

Hello @Codi 

 

glide.ui.autoclose.time is the system property 

 

Business Rule :- Incident Close

 

5 - 7 is the closed time of ticket.

 

Plz Mark my Solution as Accept and Give me thumbs up, if you find it helpful.

 

Regards,

Samaksh

AndersBGS
Tera Patron
Tera Patron

Hi @Codi ,

 

As @Shruti   also have mentioned, I would also look into creating a metric definition that store the duration for when ticket is in awaiting state and on hold reason is XXX. Based on this metric, you can create a report that sums it up as shown below.

 

Metric defintion:

 

AndersBGS_0-1694600668071.png

 

Conditions to be utilized in the report

 

AndersBGS_1-1694600722267.png

 

Wil give the result:

 

AndersBGS_2-1694600758751.png

 

If my answer has helped with your question, please mark my answer as accepted solution and give a thumb up.

 

Best regards

Anders 

If my answer has helped with your question, please mark my answer as the accepted solution and give a thumbs up.

Best regards
Anders

Rising star 2024
MVP 2025
linkedIn: https://www.linkedin.com/in/andersskovbjerg/