Automation Current State:
- Whenever the field "Executive Summary" is updated in any Jira Project
- a check is done to see if the issue type is an Epic
- and if the Epic has a Parent Initiative.
- Once both of these check pass, all Children of the Parent Initiative are queried
- The Executive Summary field from each Epic is concatenated into the Executive Summary field at the Initiative Level.
The Formatting Problem
The above works perfectly. The problem I am running into is with the formatting. When a team ends their Executive Summary in a Bullet, List, or Table, each Executive Summary that follows get's a weird treatment of either indenting or appending to the previous table.
Here is the code block I am using for formatting the text:
h2. {{now.jiraDate}}
*Total Days: {{issue.Total Days}} | Remaining Days {{issue.Remaining Days}}*\\
{{#lookupIssues}}{color:red}*{{key}} {{summary}}*:{color}\\
{{Executive Summary}} \\
---- \\
{{/}}\\I've trie forcing line breaks, adding additional content to the end of each Executive Summary, but nothing seems to work. Any clever ideas out there to encase each Executive Summary so the formatting of a previous doesn't impact the subsequent Summaries?
Take a look at the images:

