...
Each function listed below searches for the current SLA metric's data. Historical cycles are not searchable; for example, you cannot search for issues that were paused in the past but are currently active.
Search functions
Each function listed below utilizes the name of SLA metric you are searching for.
Function | Description | Example |
---|---|---|
slaMetricState("", "") | returns issues with SLA metric in a defined state | issue in slaMetricState("SLA metric 1.0", "Active") |
slaMetricBreached("") | returns issues with breached SLA (regardless of current metric state) | issue in slaMetricBreached("SLA metric 1.0") |
slaMetricDeadline("", "", "") | returns issues that match a specified deadline criteria Date format: "YYYY/MM/DD hh:mm" Supported operators: =, !=, <, <=, >, >= Supported functions: now(), now(-1d), startOfDay(), startOfMonth(), startOfWeek(), startOfYear(), endOfDay(), endOfMonth(), endOfWeek(), endOfYear(). | issue in slaMetricDeadline("SLA metric 1.0",">", "startOfWeek()") issue in slaMetricDeadline("SLA metric 1.0","<", "now()") issue in slaMetricDeadline("SLA metric 1.0","<", "2024/11/07 15:30") |
Floating deadline
In case of SLA metric being paused ("On Hold"), the deadline is currently unknown as the clock is not counting the time when the SLA metric is paused.