Set the SLA goal as a dynamic duration
This page is about Time to SLA for Jira Cloud. Using Data Center? Click here.
Dynamic duration is a Jira custom field. When you enter a time string here, Time to SLA will set the SLA duration as the input entered in this field.
This lets users enter different SLA goals for each issue. If you have changing SLA durations per issue, you can use this function to set SLA duration dynamically. The SLA clock will count according to this field.
Step 1: Create the custom field
To set an SLA goal as a Dynamic duration, you need to create a custom field that will store the SLA duration beforehand. This custom field will appear only in the screens you select while creating the custom field, regardless of whether you designate the SLA goal as Dynamic duration or not.
In the Jira top menu, click the cog icon to see the Settings menu.
Go to Issues under Jira Settings.
Click Custom Field in the left column to see the Custom Fields menu.
Click Create Custom Field, and a screen will pop up.
Select Text field (single line).
Create a Name for the duration field.
Click Create. The Associate field SLA Duration screen opens.
Tick the screens on which you want the duration field to appear. Remember: The field will only be in the screens that you selected.
Click Update.
Now, you can see the Duration field in the Dynamic duration dropdown menu while defining or updating an SLA.
To modify your screen settings, navigate to the Custom Fields menu. Click the settings button next to the Duration field you want to associate with specific screens. This will direct you to the Associate Field to Screens page. Here, you can make the necessary adjustments and then click Update to save your changes.
Step 2: Set the SLA goal as a Dynamic duration
Go to the SLA Goals section.
Click + Add goal.
Fill out the goal requirements.
For Goal Target Type, select Dynamic Duration. The Field dropdown appears.
Click the dropdown menu to see all of the possible date fields, and select one.
Your Dynamic duration has been set.
(Optional) Set a default value in the duration custom field
Click the cog icon to see the Settings menu.
Go to Issues under Jira Settings.
Go to the Custom fields menu under the Issues section.
Click the settings button in the row of the Duration field and select Contexts and Default Value. The Configure Custom Fields page appears.
Click Edit Default Value. The Jira Set Custom Field Defaults screen appears.
Enter a value for the duration field.
Click Set Default.