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?
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.
For JSM June Challenge #2, share how your non-technical teams like HR, legal, marketing, finance, and beyond started using Jira Service Management! Tell us: Did they ask to start using it or...
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