Hi there,
Wondering if anyone can help.
I have an automation to send an email to a specific team member when an issue is moved to a specific status.
I can't for the life of me work out how to output a list of sub tasks with their status in the email using smart tags.
Ideally it will check they exist first so I can then output a heading or skip the heading if there are none.
So far I have the below so assume I can do a loop similar to the comments
<strong>{{initiator.displayName}}</strong> has moved the issue to the status - <strong>{{issue.status.name}}</strong>
<a href="https://engineroom.atlassian.net/browse/{{issue.key}}">{{issue.summary}}</a>
{{#issue.Email Date}}
<strong>Email Date:</strong> {{issue.Email Date}}
{{/}}
<hr />
<h2>Ticket Body</h2>
{{issue.description}}
<hr />
<h2>All Issue Comments</h2>
{{#issue.comments.reverse}}
{{body}}
<em>Comment by: {{author.displayName}} at: {{created.mediumDateTime}}</em>
{{/}}