Not sure if this is possible, but worth a shot.
I have an automation that successfully goes through epics, and reports via email. The child issue types of an epic are "Project Risk", "Project Blocker", "Project Decision".
I am able to report each issue type in a specific section of the email, by using the following:
Blockers
{{#lookupIssues}}
{{#if(equals(issueType.name, "Project Blocker"))}}
Blocker: {{summary}} | {{status.name}}
- Risk Impact: {{Risk Impact}}
- Mitigation Plan: {{Mitigation Plan}}
{{/}}
{{/lookupIssues}}
My question is, if (in this example) there are NO Blockers, the section in the email is blank.
I would love for it to have some conditional logic within the email action that says "There are no Blockers." IF there are indeed no blockers.
Additionally, I only want it to write "There are no Blockers" one time. Not iterate through and write it multiple times (depending on the lookup results).
Thoughts?