Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Next »

The add-on is shipped with several jql functions.

FunctionUse
slaToSeconds()

Converts time strings to seconds.

"SLA Time" = slaToSeconds("2h") //will result in 7200 seconds
"SLA Time" = slaToSeconds("01:59:59") //will result in 7199 seconds 
"SLA Time" = slaToSeconds("1h 59m 59s") //will result in 7199 seconds
issue.property[slatimer].time = slaToSeconds("01:59:59")

The 3 first examples assumes there is a custom field named SLA Time.

slaStatus()

Use the function to for a more convenient search for issues with specified SLA Statuses.

"SLA Status" in slaStatus("ON TIME") //all issues in SLA Status "ON TIME"
"SLA Status" in slaStatus("overdue","overDUE+") //all issues with SLA Status "OVERDUE" or "OVERDUE+"
issue.property[slatimer].status in slaStatus("overdue","overdue+") //all issues in SLA Status "OVERDUE" or "OVERDUE+"

The function is case insensitive.

The first 2 examples assumes there is a custom field named SLA Status.

slaStatusOverdue()

Use function to search for all issues where the SLA Status is greater or equal to 100%

"SLA Status" = slaStatusOverdue() //all issues with a SLA Status greater than or equal to 100%
"SLA Status" != slaStatusOverdue() //all issues with a SLA Status less than 100%
issue.property[slatimer].status = slaStatusOverdue() //all issues with a SLA Status greater than or equal to 100%
issue.property[slatimer].status != slaStatusOverdue() //all issues with a SLA Status less than 100%
slaFRStatus()

Use the function to for a more convenient search for issues with specified SLA First Response Statuses.

"SLA First Response Status" in slaFRStatus("Behind") //all issues in SLA First Response Status "BEHIND"
"SLA First Response Status" in slaFRStatus("Behind","Delayed") //all issues in SLA First Response Status "BEHIND" or "DELAYED"
issue.property[slatimer].frstatus in slaFRStatus("Behind","Delayed") //all issues in SLA First Response Status "BEHIND" or "DELAYED"

The function is case insensitive.

The first 2 examples assumes there is a custom field named SLA First Response Status.


  • No labels