Hello,
I want to create a queue with tickets that a) have not breached their SLA, and b) have less than 33% of time remaining before the SLA is breached. This is to create a queue with "At risk of breaching SLA" tickets.
I currently havee the following query,
resolution = Unresolved AND "Time to resolution" < remaining(24h) AND "Time to resolution" > remaining(0h)
but it has a fixed 24h time remaining filter. I would like to change this whereas, depending on the ticket priority and the corresponding SLA, it calculates how much time is left as a percentage and then filters accordingly.
I suspect this could be done if there is a function that calls the total SLA time for each ticket.
Thank you