I'm using Jira Automatons to send a weekly email of To Do and In Progress issues. I have that email and reporting working just fine. However what I want to do is have the email state "No To Do and In Progress Issues" or "No Open Issues" if their are no open issues,
At the moment I'm using "{{#lookupIssues}}" and sending the email weekly with all open issues reporting by bullet points in an email, just can't figure out how to add a status when there are no open issues .
For example I'd like to add the note in italics below to the email when nothings cooking in the queue:
Security Operations Issues in "To Do" or "In Progress" Status:
No "To Do" or "In Progress" Issues In Queue
Cheers,
Jason