SLA Search 3.0 JQL Functionalities
This page is about Time to SLA for Jira Server users. |
This page requires some knowledge of searching for issues using JQL. If you need a detailed introduction to JQL usage, please click here to get more information. Due to the limitations of the issue navigator, it's not possible to search for the SLAs in the Basic mode. |
What is slaFunction?
The Time to SLA plugin adds the slaFunction custom field upon installation. You cannot add this custom field to screens but use it for JQL search. This design allows a better plugin performance. Click here if you want to check out former JQL functions.
State functions
State Functions filter issues for a given state of SLA. These functions check state equality so you can only use = or != as operands. |
Function | Description | Example |
---|---|---|
isNotStarted([Optional List of SLA IDs or/and Name(s)]) | Finds issues that have at least one inactive SLA on it. |
|
isFinished([Optional List of SLA IDs or/and Name(s) ]) | Finds issues that have at least one finished SLA on it. |
|
isRunning([Optional List of SLA IDs or/and Name(s)]) | Finds issues that have at least one running SLA on it. |
|
isPaused([Optional List of SLA IDs or/and Name(s)]) | Finds issues that have at least one paused SLA on it. |
|
Duration functions
Duration Functions filter issues by their SLA durations. These functions compare duration so you can only use '>', '>=', '<' and '<=' as operands. |
Calendars of the SLAs are taken into consideration while interpreting the given duration strings. |
Function | Description | Example |
---|---|---|
remainingDuration(Duration, [Optional List of SLA IDs or/and Name(s)]) | This function compares the given duration with the remaining duration of SLAs and finds issues if at least one SLA satisfies the comparison. |
|
elapsedDuration(Duration, [Optional List of SLA IDs or/and Name(s)]) | This function compares the given duration with the elapsed duration of SLAs and finds issues if at least one SLA satisfies the comparison. |
|
breachDuration(Duration, [Optional List of SLA IDs or/and Name(s)]) | This function compares the given duration with the breach duration of SLAs and finds issues if at least one SLA satisfies the comparison. |
|
Date functions
Date Functions filter issues by their SLA date values. These functions compare dates so you can only use '>', '>=', '<' and '<=' as operands. |
If duration strings are used instead of giving an exact date to compare to, calendars of the SLAs will be taken into consideration while interpreting them. |
Function | Description | Example |
---|---|---|
slaStartDate(Date or Duration, [Optional List of SLA IDs or/and Name(s)]) | This function compares the given date or the given duration string with the start date of SLAs and finds issues if at least one SLA satisfies the comparison. |
|
slaTargetDate(Date or Duration, [Optional List of SLA IDs or/and Name(s)]) | This function compares the given date or duration string with the target date of SLAs and finds issues if at least one SLA satisfies the comparison. |
|
slaEndDate(Date or Duration, [Optional List of SLA IDs or/and Name(s)]) | This function compares the given date or duration with the end date of SLAs and finds issues if at least one SLA satisfies the comparison. |
|
Percentage functions
Percentage Functions filter issues by elapsed or remaining percentage of SLAs. These functions compare percentages so you can only use '>', '>=', '<' and '<=' as operands. |
Only the following percentage values are valid for comparison: 10, 20, 25, 30, 40, 50, 60, 70, 75, 80, 90 |
Function | Description | Example |
---|---|---|
remainingPercentage(Percentage, [Optional List of SLA IDs or/and Name(s)]) | This function compares the given percent with the remaining percentage of SLAs and finds issues if at least one SLA satisfies the comparison. |
|
elapsedPercentage(Percent, [Optional List of SLA IDs or/and Name(s)]) | This function compares the given duration with the elapsed percentage of SLAs and finds issues if at least one SLA satisfies the comparison. |
|
Breach functions
Breach Functions filter issues for breach state. These functions check state equality so you can only use = or != as operands. |
Function | Description | Example |
---|---|---|
isBreached([Optional List of SLA IDs or/and Name(s)]) | Finds issues that have at least one breached SLA on it. |
|
Attention
Other plugins may provide functions with the same name as those provided by Time to SLA such as isNotStarted. For functions like these, no other name would make a great deal of sense, so this is not surprising. The protocol for these situations is explained in JRA-24219, i.e. the plugin key that is first alphabetically will "win".