Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
Community Members
Community Events
Community Groups

Automated Email Syntax Issue

I have an automation rule set up to send an email notification whenever a new comment is made within an Issue. I'm using Office Outlook as my email server. The rule executes just fine. However, when an exclamation point is used within the comment, it shows up in the email with a backslash in front of it as "\!". 

Below is how I have my email format written in Jira:

Issue Key: <a href="{{issue.key}}">({{issue.key}})</a>

{{author.displayName}} at: {{created}}

Below is how the email shows in Outlook:

Issue Key: (Intentionally Blank)

Zachary Johnston at: 2022-05-26T21:27:58.4+0000
"first comment made"
Zachary Johnston at: 2022-05-26T21:38:43.3+0000
"second comment here"
Zachary Johnston at: 2022-05-26T21:39:54.4+0000
"3rd comment here\!"
Zachary Johnston at: 2022-05-26T21:46:12.2+0000
"4th comment here"
Zachary Johnston at: 2022-05-26T21:49:27.1+0000

Can anyone explain why my emails are translating this way when exclamation points are being used? 

1 answer

Hi @Zachary Johnston,

I believe there is the same bug with ! than with [ as reported in JSWCLOUD-22577 - Automation text value is adding a backslash in front of brackets. The following syntax should work:

{{author.displayName}} at: {{created}}

Hope this helps!

- Manon

That solved the issue, thank you Manon!

Like Manon Soubies-Camy likes this

Glad it helped! :)

Suggest an answer

Log in or Sign up to answer
Site Admin
Community showcase
Published in Jira Service Management

Coming Soon: Insight Changing to Assets

The 2020 acquisition of Mindville added powerful asset and configuration management capabilities to Jira Service Management in the form of Insight. Following the completion of that integration, custo...

251 views 1 9
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you