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

Jira automation insert new line into the audit log

Hi community,

I am looking for a way to insert a new line character into the audit log output for Jira Automation.  This is useful for looping through multiple issues and having a new line for audit log output after each issue.

I have tried \n, %n, \r\n and <br> without success.

Anyone have any ideas or solutions?

1 answer

1 accepted

0 votes
Answer accepted
frother Atlassian Team Jun 07, 2021


Thanks for reaching out.

Unfortunately, it is not going to be possible to add in the line breaks. The audit log is printed out as HTML and new line characters have no effect there. HTML tags aren't allowed (they will be printed as text), this is for security reasons so that embedded scripts and like will not be executed.


Thanks for the response @frother .

Kind of what I expected, based on what I'd tried, but it never hurts to ask the community.

There's always a possibility that someone has come up with a clever/creative way to achieve the same end.

Maybe there's a way that HTML formatting could be allowed in the future (through parsing the string for allowed HTML tags) ..... just a thought.

@frother Would it be possible to inject using a Smart Value?  If not, it would be a nice feature to support string methods like: {{string.newLine}}

Like Rudy Holtkamp likes this

I'd like to be able to use tab characters.

Why? Copy-and-paste of data to spreadsheets. Sure, CSV works, but it actually takes fewer steps if the data is tab-separated.

NOTE:  I've created a Suggestion for Atlassian to enhance Automation to support this. If you found this article, please vote for it here:

Suggest an answer

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

Upcoming changes to epic fields in company-managed projects

👋 Hi there Jira Community! A few months ago we shared with you plans around renaming epics in your company-managed projects. As part of these changes, we highlighted upcoming changes to epics on...

14,130 views 34 44
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