I am working on a task, I want Jira to send an automated email at the start of month to the user.
The email should contain all the issues that user has logged work on, I used this query
worklogDate >= startOfMonth(-1) AND worklogDate <= endOfMonth(-1)
and following email body:
{{#issues}} - [{{key}}] {{summary}} - Time Logged: {{worklog.timeSpent}} {{/issues}}
but with this, I am getting multiple emails for each issue, I want to include all issues in one email, where I am wrong here?