Hello,
Could anyone please let me know why the following sends an empty email? I have followed every instructions through other available similar questions but found no solution.
Here is the automation code:
lookupIssues JQL: (Works Fine)
(status != Closed AND status != Resolved) AND (assignee = KM OR "Requested Participant" = KM)
Send Email: This shows "success" in logs but sends an empty email.
Hello,
Here are the open issues for KM:
**Assigned to KM:**
{{#lookupIssues}}
{{#if(equals(issue.assignee, "Kyle Meier"))}}
{{key}}: {{summary}}
{{/}}{{/}}
Regards, Jira Automation
Once inside of the iterator {{#lookupIssues}} ... {{/}} do not use the issue prefix as the fields are relative to the lookup.
If instead you are trying to filter the results, that is not possible as data from outside of the lookup is not visible inside the iterator. Instead try adding that criteria to the JQL for the lookup.
Another option, when only one lookup is used, is to use a dynamic regular expression to filter a text / flattened version of the lookup. That may be a bit complicated for your scenario.
If that does not help, context is important for the community to help. Please post the following:
Kind regards,
Bill
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.