Copy SLA data to other customized field

Sonika Maddinapudi October 22, 2024

I have an SLA in due date centric format and I want when the SLA was calculated then the same data should be copied in other customized filed which is date and time picker format.

1 answer

0 votes
Olha Yevdokymova_SaaSJet
Atlassian Partner
October 22, 2024

Hello @Sonika Maddinapudi 

In native Jira, there’s no direct way to copy the SLA due date into another custom field once the SLA is calculated. However, you can use Jira Automation to achieve a similar effect by setting up a rule that triggers when the SLA is completed and then copies the data into the custom field.

Steps to Set Up Automation:

  • Create Automation Rule:

    • Go to Jira Settings > System > Automation Rules.
    • Click on Create Rule.
  • Select Trigger:

    • Choose the trigger: SLA Threshold Breached or SLA Completed, depending on when you want the action to take place.
  • Add Condition (Optional):

    • If needed, add a condition to target specific issues or projects (e.g., for a specific SLA metric or custom field).
  • Add Action: Edit Issue:

    • Select the action Edit Issue.
    • Choose the custom field where you want to copy the SLA due date (your custom date and time picker field).
    • Use the smart value {{issue.SLA.metric.dueDate}} to refer to the SLA due date.


If the native Jira automation doesn't provide enough flexibility for your needs, you may want to try SLA Time and Report for Jira, developed by my team.

With SLA Time and Report, you can now track SLA performance using custom fields for both the target date and status of SLA goals. To activate this feature, you simply go to the SLA Configuration Manager, where you can assign names, set time goals, and configure actions for exceeded limits and activate custom fields tracking. Once activated, these fields will appear in the Issue Layout, allowing for easy SLA monitoring.199d6d95-a3e4-4170-8467-8dd70249c716.png

Syncing SLA Time and Report data with Jira Custom Fields offers several advantages, such as:

  • Native Jira Cloud Gadgets for displaying SLA data on dashboards.
  • The ability to use JQL for filtering issues by SLA goals.7d24232b-ea5f-40d6-9524-7871ee8a4701.png

 

Sonika Maddinapudi October 22, 2024

Thanks for the reply @Olha Yevdokymova_SaaSJet 
Automation rule:
You mentioned SLA Threshold Breached or SLA Completed,  but I don't want consider whether it is breached or done within the target.
I want the data(due date centric format) in sla should be copied to my custom field (date time picket format) using automation rule
Note: SLA completed trigger was not there in my automation rule what can be the other alternative for this trigger

Thanks

Olha Yevdokymova_SaaSJet
Atlassian Partner
October 23, 2024

oh, got it @Sonika Maddinapudi 
It seems that native Jira automation doesn't fully support your use case, as I sont know the trigger you're looking for to copy the SLA target date to a custom field regardless of the SLA outcome.

You still may try to use our add-on SLA Time and Report, cause it gives you a flexibility to fill SLA Taget date into custom field from the very begining, no matter is it breached or met. Set this up in the SLA Configuration Manager, ensuring the target date is displayed in Jira issue layouts and reports. You may further use this custom field in any case you need and there is no limitation is automated actions like in Jira.

 

Sonika Maddinapudi October 28, 2024

@Olha Yevdokymova_SaaSJet ,
could you please provide me in the form of automation rule?

Thanks

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
STANDARD
PERMISSIONS LEVEL
Product Admin
TAGS
AUG Leaders

Atlassian Community Events