I am creating a database in confluence that will track specific Customer Service tickets.
One of the things I wanted to include in the database was the comments on jira tickets as we were copying customer responses into the comments. Unfortunately it looks like the jira issue field for comment doesn't populate anything
So instead I created a custom field that has a Smart Value automation based off this doc so that every time there is a new comment it runs
{{#issue.comments}}
Comment by: {{author.displayName}} at: {{created.shortDateTime}}
{{body}}
{{/}}
But when I actually run the script it makes it all the comments into one continuous line that is very hard to read. What can I do to format it to be more legible? For now I just added a line of equal signs to break up the text but I would like to use a more proper solution
@jason welcome to the Atlassian community
Here is an example of how to get the line break added https://community.atlassian.com/t5/Jira-questions/Automation-how-to-add-a-new-line-into-smart-variable/qaq-p/2430570
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.