Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Button handy
blankfalse
color#0052CC
nameCloud
linkhttps://appfire.atlassian.net/wiki/spaces/TTSC/pages/35456221/Setting+SLA+Conditions
width84
Button handy
blankfalse
color#EBECF0
nameOn-Prem
linkhttps://appfire.atlassian.net/wiki/spaces/TTS/pages/43876700/Setting+SLA+Conditions
width85

Panel
panelIconIdatlassian-info
panelIcon:info:
bgColor#F4F5F7

This page is about Time to SLA for Jira Cloud. Using Jira On-Prem? Click the On-Prem button above.

The SLA Conditions feature allows you to set up rules that trigger SLA events based on various criteria within the lifecycle of an issue. These conditions are designed to ensure that issues are addressed and resolved in accordance with customer expectations.

On this page:

Table of Contents
minLevel1
maxLevel5
outlinefalse
typelist
printablefalse

Types of SLA Conditions

There are four primary types of SLA conditions: Start, End, Reset, and Pause. Start, Stop, and Reset conditions are called "point conditions." They define a point within an issue’s lifetime, such as when the issue was assigned or when the status changed to Open. You can add more than one condition.

Tip

Start and End conditions are mandatory for every SLA, while Reset and Pause conditions are optional. The choice of using Reset and Pause conditions depends on your specific use case.

For each condition, you can either choose from common conditions, which are widely used conditions inspired by real-world scenarios, to save time or if your condition doesn't fit any of them, you can explore all other condition types.

On this page:

Table of Contents
minLevel3
maxLevel6
outlinefalse
typelist
printablefalse
image-20240707-145802.pngImage Removedimage-20240707-145802.pngImage Added

Start Conditions

Start conditions define the initiation of an SLA and can be triggered by events such as a change in issue status, modification of a field value, reaching a specified date in a date field, or the addition of a comment to an issue.

Tip

For example, to start an SLA when an issue’s status changes, follow these steps:

  1. Go to SLAs, and click + SLA.

  2. After completing SLA Setup and SLA Goals, proceed to SLA Conditions.

  3. Scroll to the SLA Condition, and click the + Start Condition button.

  4. Click + More Condition Types.

  5. Select Status is changed.

    image-20240603-091921.pngImage Removed

  6. Decide whether you want the condition to be triggered when the SLA enters or leaves a selected status (Open, Reopened, etc.).

  7. Select a status or statuses that the SLA requires in order to start.

Panel
panelIconIdatlassian-warning
panelIcon:warning:
bgColor#F4F5F7

In Jira Cloud instances, there can be more than one status with the same name and different IDs appearing in the status drop-down menus due to Next-Gen projects creating their own workflows. To circumvent this issue, we have consolidated all statuses with the same name in our status menus. For example, if a user wants an SLA to start with the In Progress status, there will be one In Progress status in the drop-down menu, and selecting this would suffice.

  1. Click Confirm, and the status will now appear in the box.

Check out the screenshots below to see some examples:

image-20240707-150639.png

image-20240707-150801.png

End Conditions

End conditions signify the completion of an SLA. It is mandatory to define at least one End condition for every SLA. The configuration steps mirror those of the Start conditions. Check out the screenshots below to see some examples:

Panel
panelIconIdatlassian-warning
panelIcon:warning:
bgColor#F4F5F7

It’s important that you remember the SLA End Date is NOT a deadline!It is just the date of an issue for the chosen date field. 

image-20240707-151251.png
image-20240707-151713.png

Reset Conditions

The reset conditions feature allows you to set criteria for restarting an SLA. This means that under specific circumstances, the SLA timer can be reset, and the counting process begins anew. It's important to note that the new SLA will only start counting from the beginning if the specified start condition is satisfied.

In simpler terms, the reset function lets you decide when an SLA should start over. Each SLA definition can have its own unique resetting options based on your preferences. If your chosen conditions change, the SLA is automatically reset. If the SLA is already in progress but hasn't concluded, triggering a reset action will restart it. During this reset, the start time is set to the current moment, and the elapsed duration is reset to zero.

You have the flexibility to reset an SLA based on different events, such as changes in status, field values, comments, or when a specific date is reached. For example, using the "Date field is reached" option allows you to schedule when the reset should occur.

Panel
panelIconIdatlassian-note
panelIcon:note:
bgColor#F4F5F7

An alternative way to use the Reset SLA option is from the Time to SLA Issue Actions dropdown menu, which enables you to perform issue-specific actions.

You can also select whether you want a finished SLA to be reset. Your options for resetting finished SLAs are:

image-20240707-151932.pngImage Removedimage-20240707-151932.pngImage Added
  1. Do nothing – After your SLA finishes, it won’t be reset.

  2. Reset SLA durations and restart SLA – After your SLA finishes, the elapsed time will be reset, and the SLA will start counting again.

  3. Reset SLA durations and invalidate previous cycles – After your SLA finishes, the elapsed time will be reset and the SLA Panel will be hidden. The SLA won’t start counting again until the next SLA start condition is met.

Panel
panelIconIdatlassian-note
panelIcon:note:
bgColor#F4F5F7

It's crucial to note:

  • A finished SLA is a closed contract, and a reset cannot change that.

  • A finished contract might be reactivated from zero with a reset.

  • A finished contract might be completely invalidated with a reset. Even in SLAs that are in the first cycle, the SLA can start from zero with a new START event.

The configuration steps are similar to those of the Start conditions. Check out the screenshots below to see some examples:

image-20240707-182007.png
image-20240707-152912.png
image-20240707-182158.png

Pause Conditions

Pause conditions introduce intervals within an issue's lifecycle where the SLA is temporarily halted. This feature proves beneficial in scenarios where you need to suspend the SLA calculation during specific circumstances, such as when a ticket is in a particular status (commonly during the waiting period for a customer response).

This functionality is particularly advantageous for teams providing support across different time zones. It accommodates contracts that stipulate response times tied to the customer's specific time zone. Additionally, you can configure the system to pause the SLA during company holidays and/or on specific dates and days of the week.

Within Time to SLA, you can select statuses and field values that trigger the SLA countdown to pause. Options for Pause conditions are:

image-20240707-182341.pngImage Removedimage-20240707-182341.pngImage Added
  1. Status is any of the selected status(es) – Choose from various statuses (e.g., To Do, In Progress, Done, etc.). When the SLA enters one of these specified statuses, the countdown halts, and it resumes only upon exiting that status.

  2. The field value satisfies a condition – To pause the SLA based on a specific field value, set the desired field for the statuses where the SLA should be paused. Numerous field options are available for customization.

  3. Triggered by another SLA – Use this feature to connect your SLA to another SLA. For example, you can configure the condition to have your SLA pause when the SLA it’s connected to pauses.

    image-20240707-182443.png
Panel
panelIconIdatlassian-warning
panelIcon:warning:
panelIconText:warning:
bgColor#F4F5F7

The SLA countdown does not pause if the SLA Goal is set as a negotiation date.

Check out the screenshots below to see some examples:

image-20240707-182555.png
image-20240707-182720.png
Panel
panelIconIdatlassian-note
panelIcon:note:
bgColor#F4F5F7

If multiple pause intervals are defined, all of them will be applied to the SLA simultaneously. For instance, if "assignee is EMPTY" and "team is EMPTY" are defined as pause conditions, the SLA will be paused when either the assignee is EMPTY, the team is EMPTY, or both are EMPTY.

You can see what a paused SLA looks like on the SLA Panel below:

Logical Connectors

Conditions can be connected using logical operators, with the default being the OR (“Any of the following conditions”) operator, meaning the SLA starts when any of the conditions are met. Alternatively, you can use the AND (“All of the following conditions”) operator. In this case, the SLA will start only when all conditions within a group are met.

“OR” Connector

When you create a new condition by clicking the Add button, it uses the “OR” connector by default. If you add more conditions using the same method, a dropdown that allows you to select between "Any of the following conditions" (OR) and "All of the following conditions" (AND) logics will appear.

“AND” Connector

For the “AND” connector to work, “All of the following conditions” needs to be selected.

Panel
panelIconId2b05
panelIcon:arrow_left:
panelIconText⬅️
bgColor#F4F5F7

Please note that Reset conditions connected with the "All of the following connections" connector cannot have different "Behavior on finished SLAs" selections. Otherwise, Time to SLA won’t be able to determine the appropriate response when SLAs are completed.

Grouped Conditions

Grouped Conditions allow you to construct intricate SLA use cases by organizing conditions into logical groups with specific connectors. This feature enhances the flexibility of your configurations, enabling you to address complex scenarios effectively.

To create a new group, navigate to the condition you want to include in the group and click the ellipsis ("...") button. From the options presented, choose Create grouped condition.

Panel
panelIconIdatlassian-warning
panelIcon:warning:
bgColor#F4F5F7

Upon creation, each group is evaluated independently with its own set of logical functions. You can create as many groups as needed for your specific use case; however, ensure that your connectors make logical sense to avoid potential issues.

Example 1:

In this example, there are two groups under the Pause condition: Group A and Group B. Group A and Group B have the “AND” connector, but they are connected to each other with the “OR” connector.

This means that for this issue to be paused:

  • The status needs to be “Waiting for customer” AND there must be a label containing “need-customer-response”.

OR

  • The status needs to be “Waiting for approval” AND the Approver groups custom field must contain “jira-servicemanagement-users” or “jira-software-users”.

Example 2:

This example could be about when to start a Time to First Response SLA. In this example, the SLA will start if the priority is changed to Highest, High, Medium, Low, or Lowest, and either the assignee is set and the status is changed to “Open”, or the status is changed to “Work in progress” and the assignee is set.

Let’s represent the conditions mathematically:

  • P: Priority is changed to Highest, High, Medium, Low, or Lowest.

  • A: Assignee is set.

  • S: Status is changed to “Open”.

  • W: Status is changed to “Work in Progress”.

The SLA will start if:

P∧((AS)∨(WA))