Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

SLA smart values not rendering in Jira Automation email template

Sebastian Santoyo
Contributor
September 17, 2025

Hello community,

I’m trying to include the SLA duration in an Automation email template in Jira Service Management, but the smart value always renders empty.

Here’s my current template:

Dear customer: {{issue.key}}

We inform you that we received your request, created on {{issue.created.format("dd/MM/yyyy")}}, about {{issue.summary}}.
It is under verification and being processed by the Unit of Banking Operations, assigned to {{assignee.displayName}} and supervised by the Officer {{issue.Oficial.displayName}}.

The maximum time established to complete this request is {{issue.sla."SLA Centro de Excelencia de Servicios".goalDuration.friendly}} working hours.

Our service hours are Monday to Friday from 8:00 a.m. to 3:00 p.m. Requests sent outside this schedule will be processed on the next business day.


The date renders correctly with {{issue.created.format("dd/MM/yyyy")}}.

The assignee also works.

But the SLA value (name: SLA Centro de Excelencia de Servicios) always comes out empty in the email.

What I’ve tried:

{{issue."SLA Centro de Excelencia de Servicios".goalDuration.friendly}}

{{issue.sla."SLA Centro de Excelencia de Servicios".goalDuration.friendly}}

{{issue."SLA Centro de Excelencia de Servicios".remainingTime.friendly}}

Adding a Re-fetch issue data action before sending the email

Still, the SLA value does not render.

Questions:

What is the correct smart value syntax for including SLA goal/remaining time in an email template?

Is there a timing issue when the rule is triggered on issue creation (before the SLA is calculated)?

Do I need to use a different trigger (e.g., SLA started, scheduled rule) to make SLA values available in the template?

Any guidance would be very appreciated.

Thanks in advance!

 

2 answers

2 votes
Marc - Devoteam
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
September 17, 2025

Hi @Sebastian Santoyo 

When are you sending this email, on issue creation?

Then its correct the values are empty as the SLA calculation is only Done after the issue creation.

You need to de a re-fetch action.

Also you need to use the smart value as;

{{issue.customfield_XXXXX.ongoingCycle.goalDuration.friendly}}

See also this KB article; https://support.atlassian.com/jira/kb/comment-with-sla-smart-value-fails-in-jira-automation-rule/ 

Sebastian Santoyo
Contributor
September 18, 2025

Thanks Marc not working the link alternatives

 

And the custom field, the ir not a custom field

2 votes
John Funk
Community Champion
September 17, 2025

Hi Sebastian,

You might try: {{issue.<sla_name>.ongoingCycle.goalDuration.friendly}}

And here is some more guidance:

https://support.atlassian.com/jira/kb/how-to-find-smart-value-of-sla-component-of-jsm-issues/

 

Sebastian Santoyo
Contributor
September 18, 2025

thanks John did not work 

Suggest an answer

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

Atlassian Community Events