JQL functions (SLA 3.0)
Below is a set of custom JQL functions you can use to query issues based on their SLA status in HelpDesk SLA. Whether you need to find tickets that have already breached their deadlines, are still running, paused, or have completed specific SLA goals, these functions let you build precise filters. Each function takes the SLA field name as its argument (and, where applicable, a comparison operator plus a time value) so you can tailor searches to your exact needs.
As of HelpDesk SLA 3.0.0, all SLA metrics are refreshed in the background—so your JQL functions always return up-to-date results. This makes it easy to create a Jira Filter Subscription using any of the functions (for example, issue in slaRemaining('Resolution Time', '<10m') and have Jira automatically email you whenever your SLAs are at risk of being breached.
slaBreached()
Search for issues with currently breached SLA.
Syntax | slaBreached() |
|---|---|
Required argument(s) | field name |
Supported fields | SLA 2.0 |
Examples |
|
slaCompleted()
Search for issues with currently completed SLA.
Syntax | slaCompleted() |
|---|---|
Required argument(s) | field name |
Supported fields | SLA 2.0 |
Examples |
|
slaElapsed()
Search for issues with particular SLA time spent.
Syntax | slaElapsed( , ) |
|---|---|
Required argument(s) |
|
Supported fields | SLA 2.0 |
Examples |
|
slaRemaining()
Search for issues with particular SLA time remaining before the SLA is breached.
Syntax | slaRemaining( , ) |
|---|---|
Required argument(s) |
|
Supported fields | SLA 2.0 |
Examples |
|
slaPaused()
Search for issues that have an SLA that is paused due to a condition.
Note that the function doesn't return issues with the SLA time is in progress but on a Calendar pause.
Syntax | slaPaused() |
|---|---|
Required argument(s) | field name |
Supported fields | SLA 2.0 |
Examples |
|
slaRunning()
Search for issues that have a running SLA, regardless of the calendar.
Syntax | slaRunning() |
|---|---|
Required argument(s) | field name |
Supported fields | SLA 2.0 |
Examples |
|