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

« Previous Version 9 Next »

The add-on enables precise and accurate searching for SLA issues.

JQL Functions

See JQL Functions

Alias Searching

Available app version 2.3.5.

SLA Issue Properties can be searched using alias names making it faster and more intuitive to search for issues with SLA Values.

AliasKeyTypeValueDescription

slaStringanyThe id of the current or last used SLA
slaOnslaonStringtrue/false

Whether or not the issue is in scope of a SLA

slaOn = "true"
slaOn = "false"
slaOn is Empty
slaOn in slaIsOn()
slaOn not in slaIsOn()
slaNameslanameStringanyThe name of the current or last used SLA

slatimeNumberA positive integerThe SLA Target Time in seconds
slaSpentTimetimeNumberA positive integer

The Time Spent in seconds

slaSpentTime < slaToTime(2h)
slaSpentTime < slaToTime("2h 8m 2s")
slaSpentTime < slaToTime(02:08:02)
slaSpentTime < 7682

statusString

Any value that matches

the id of a SLA Status

The id of the current SLA Status.
slaDatedateisoDateA String representation of a Date

The time and date of when SLA Values was updated by the Add-on

slaDate > 2020-01-01
slaDate > startOfMonth()
slaDate > -1h
slaETAetaisoDateA String representation of a Date

The time and date of when the issue should be completed with current SLA - The Target Date.

slaDate > 2020-01-01
slaDate > startOfMonth()
slaDate > -1h

forcedstate.stateNumber0 or 1

If the issue is paused the value will be 1. Otherwise empty or 0

Since version 1.5.0


forcedstate.dateisoDateA String representation of a Date

The time and date of when this issue was paused (if paused)

Since version 1.5.0


percentNumberA positive integerThe percent value of Time Spent compared to the SLA Target Time

customslatimeStringtrue/falseWhether or not the issue has a custom SLA Target Time (The SLA Target Time has been overriden)

frstatusStringAHEAD, BEHIND, OK or DELAYEDThe id of the current First Response Status

frtimeNumberA positive integerThe time spent before First Response was initiated

frslatimeNumberA positive integerThe SLA First Response Target Time in seconds

It is not guarantied that an issue will contain all property keys.


Issue Property Searching

All issue SLA Values are stored as issue properties and as such enables fast and effective JQL searching.

You can search for all SLA values on the form issue.property[slatimer].x = y where x is the key and y the search value.

Examples:

issue.property[slatimer].sla in slaName("P1","P2:) //issue with a sla named p1 or P2
issue.property[slatimer].slaname = "p1" //issuea with a sla named p1
issue.property[slatimer].time = 3600 //spent time is equal to 1 hour = 3600 seconds
issue.property[slatimer].time = slaToSecons("1h") //spent time is equal to 1 hour = 3600 seconds
issue.property[slatimer].etaiso > now() //target date less than current date and time
issue.property[slatimer].forcedstate.state = 1  //paused issues


SLA Values

The SLA Values are the values the Add-on stores for an issue.

KeyTypeValueDescription
slaStringanyThe id of the current or or last used SLA
slaonStringtrue/falseWhether or not the issue is in scope of a SLA
slanameStringanyThe name of the current or last used SLA
slatimeNumberA positive integerThe SLA Target Time in seconds
timeNumberA positive integerThe Time Spent in seconds
statusString

Any value that matches

the id of a SLA Status

The id of the current SLA Status.
dateisoDateA String representation of a DateThe time and date of when SLA Values was updated by the Add-on
etaisoDateA String representation of a DateThe time and date of when the issue should be completed with current SLA - The Target Date.
forcedstate.stateNumber0 or 1

If the issue is paused the value will be 1. Otherwise empty or 0

Since version 1.5.0

forcedstate.dateisoDateA String representation of a Date

The time and date of when this issue was paused (if paused)

Since version 1.5.0

percentNumberA positive integerThe percent value of Time Spent compared to the SLA Target Time
customslatimeStringtrue/falseWhether or not the issue has a custom SLA Target Time (The SLA Target Time has been overriden)
frstatusStringAHEAD, BEHIND, OK or DELAYEDThe id of the current First Response Status
frtimeNumberA positive integerThe time spent before First Response was initiated
frslatimeNumberA positive integerThe SLA First Response Target Time in seconds

It is not guarantied that an issue will contain all property keys.

All values can be empty or null (not existing). 



  • No labels