Get a first look at what's coming. The Developer Passport Australia Release Preview kicks off March 12. Dive in! 

Aged ticket

pramn
Kilo Sage

What conditions do we use for to create report Last 15 days and last 45 days  aged ticket 

pramn_0-1766420819927.png

we don't have options for 15 and 45 days 

Can someone pls guide me ?

 

1 ACCEPTED SOLUTION

Hi @pramn ,

 

Where are you trying this? It should be available pretty much everywhere for date type fields, with some exceptions.

 

I am on the Perform Analytics> Data visualizations 

 

HemanthM1_0-1766470728201.png

 

 

Accept and hit Helpful if it helps.

Thank you,
Hemanth
Certified Technical Architect (CTA), ServiceNow MVP 2024, 2025

View solution in original post

5 REPLIES 5

Matthew_13
Mega Sage

Hi my Friend!

You won’t see “15 days” or “45 days” as preset options, but you can get this by using a date range with these conditions on Created:

For tickets exactly 15 days old:

  • Created on or after javascript:gs.daysAgoStart(15)

  • AND Created before javascript:gs.daysAgoStart(14)

For exactly 45 days old:

  • Created on or after javascript:gs.daysAgoStart(45)

  • AND Created before javascript:gs.daysAgoStart(44)

This filters tickets created during that exact day.

If you want the last 15 or 45 days (all tickets since then), just use Created on or after javascript:gs.daysAgoStart(15) or (45).

 

@pramn - Please give a Thumbs up and Solution Accepted if this is Helpful. Thanks Kindly

MJG

I am not getting that option to put the conditions 

pramn_0-1766468743662.png

 

Hi @pramn ,

 

Where are you trying this? It should be available pretty much everywhere for date type fields, with some exceptions.

 

I am on the Perform Analytics> Data visualizations 

 

HemanthM1_0-1766470728201.png

 

 

Accept and hit Helpful if it helps.

Thank you,
Hemanth
Certified Technical Architect (CTA), ServiceNow MVP 2024, 2025

Hemanth M1
Giga Sage

Hi @pramn ,

 

Use relative duration as below, same goes with 45 days!

HemanthM1_0-1766421752531.png

 

 

Accept and hit Helpful if it helps.

Thank you,
Hemanth
Certified Technical Architect (CTA), ServiceNow MVP 2024, 2025