The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

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

Is there a better way to format the audit log for Automations?

Marcel Hager
Contributor
June 13, 2025

I'm trying to improve the audit log readability for various automations and was wondering if there is a way to add values to the audit log with a line break to make large blocks of text more readable.

As an example, I want to log the web response status and category in an automation rule, and have the following in the log message block:

Status: {{webResponse.status}} Category: {{webResponse.statusCategory}}

Log format.jpg

I would prefer to have it displayed like:

Status: 200

Category: SUCCESS

 

I've tried a few different methods for line breaks, concatenation, etc. but with no luck. Is it even possible to format the output to the log without having to add tons of steps to log individual values?

1 answer

1 accepted

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

7 votes
Answer accepted
Bill Sheboy
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 Champions.
June 13, 2025

Hi @Marcel Hager 

Sadly, nothing built-in yet to help with this.

There are many open suggestions to improve the log usability / readability, including some in progress ones.  Here are some examples you may watch / vote for:

https://jira.atlassian.com/browse/AUTO-28
https://jira.atlassian.com/browse/AUTO-36
https://jira.atlassian.com/browse/AUTO-51

 

One possible workaround to adding a bunch of Log actions is (for some cases) add a debug wrapper around smart value expressions:

{{#debug}}some smart value expression{{/}}

That will write to the audit log as a section which can be expanded, when needed.

 

For more detail analysis, you could add your own keywords to the Log write text, copy-and-paste the log to a text editor, and then search-and-replace the keyword for newlines.

 

Kind regards,
Bill

DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
PREMIUM
TAGS
AUG Leaders

Atlassian Community Events