Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Failed to get smart values in email alert

wahyu.nuryanto February 20, 2023

Hi Everyone, 

 

Currently, I am testing a new SLA alert to email. Previously I successfully made it into Slack without any issues. But this time when using the same code I used in Slack for email alerts I got nothing showing up for the smart values. 

 

Here is the code that I use in Slack alert

Just letting you know this alert will breach SLA in *15 minutes*:

*Alert*: <https://alert-portal.atlassian.net/browse/{{issue.key}}|{{issue.key}} - {{issue.fields.summary}}>
*SLA breach: Time to first response*
*Assignee: {{assignee.displayName}}*
*Priority: {{issue.priority}}*

Please take a look and respond to it immediately

and here is how it looks like in the Slack

SCR-20230220-cqt.png

When the alert trigger to email, all the smart values are missing. 

Did I miss something from that code? 

And here is the logic of the automation

SCR-20230221-b1f.png

1 answer

1 accepted

0 votes
Answer accepted
Ajay _view26_
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
February 20, 2023

Hi @wahyu.nuryanto 

If the Slack template is  working then then the email template should also work. Can you change the order to first send out email and then the slack notification in the automation rule to check if it make any difference?

 

Cheers

Ajay

wahyu.nuryanto February 21, 2023

Hi @Ajay _view26_ ,

 

Thank you very much for your reply but it's still shows nothing after I reordered the automation. 

SCR-20230221-l5o.png

wahyu.nuryanto February 21, 2023

I managed to make it run by separating the automation from the previous one I used for Slack, but the Alert ID and link didn't work. 

SCR-20230222-cg2.png

Marc Isikoff
Contributor
October 20, 2023

Is there any smart values to actually show the SLA values in an email? I need to inform a customer right away that we got their issue, and are working on it under SLA "name" and that has "time" left on it.

Suggest an answer

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

Atlassian Community Events