Using JIRA automation I've created a scheduled rule which runs daily and pulls in a list of tickets based on a JQL rule.
Following that I have a SendPDF action set up which sends an email with a PDF attached with the list of issues from the rule.
I want this email to go to any assignee listed in the file (i.e. the assignees of the tickets included).
I've tried using variables in a few different ways:
{{issue.assignees.emailAddress}}
{{issue().assignees.emailAddress}}
{{issues.assignees.emailAddress}}
But nothing seems to work.
Does anyone know how I can make it so this email sends to all the users involved.
P.S. I realise I could schedule a subscription. But I'm trying to avoid the notification going to people who it doesn't apply to.