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

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root


1 badge earned


Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!


Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.


Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!


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

Formating email message creeated by Jira Automation in the Jira cloud


Hello, our company is facing some difficulties with formatting used in automation. 

Right now I am working on sending content of the last comment added to the issue. 

I am able to acquire this content by this smart value: 


I have 2 main problems with this value. 

1. When someone write exclamation mark "!" I will get exclamation mart with slash "\!"

2. When someone will use color i am getting these markup in this content, for example {color:red} Mother {color}. I want to get rid of this markup, even at a cost of loosing this colorfull information. 

I have tried to replace these text marks, but these expressions...: 

a) {{issue.comments.last.body.replaceAll("({color.*})","")}} 

b) {{issue.comments.last.body.replaceAll("(\\{color.*\\})","")}} 

c) {{issue.comments.last.body.replaceAll("\\{color.*\\}","")}} 

... returns only errors. I expect that it is because i want ot replace these brackets {}, but I really want to replace of them.

Can someone advise how to do this? Any workaround will also be appreciated. 

2 answers

1 vote

I found this document that solved this problem for me.

Convert wiki markup to HTML or plain text in Jira automation 

Basically, for the text field you are including, add ".html" or ".text" to the end of the field name inside the double-braces.

e.g.: {{issue.description.html}}

Not sure about a fix in Jira Automation, but we had to create our own markup parser in Notification Assistant for Jira. It handles most of these scenarios, but we still have some special edge cases where we need to improve. Unfortunately there isn't a parsing library that Atlassian has made available, and seemingly this is true even for internal tools.

Suggest an answer

Log in or Sign up to answer

Atlassian Community Events