Hello Jira folks,
I currently have the following setup:
- Jira automation run on a daily basis at 8 AM
-- JQL: project = DEV AND status = Todo AND updated <= -2d ORDER BY updated ASC
--- Email to Assignee + Teamleader + Head of Department:
Subject:
Late ticket: {{issue.key}}
Body:
Hello {{assignee.displayName}}
Please look into this ticket urgently {{issue.key}}
This is causing me issues as I am sending 1 email per issue, and it is spamming the team on a daily basis.
Instead, what I'd love to see is:
1 email per assignee to the correct Assignee + Teamleader + Head of Department
-> Assignee/dev would have 1 email sent to him containing all of the tickets he's late for
--> Teamleader would have multiple devs under his scope, so he should receive multiple emails, but only 1 email per assignee/dev
---> Head of Department would have multiple Teamleaders (therefor multiple devs) under his scope, so he should receive multiple emails, but only 1 email per assignee/dev
Expected Subject:
{{assignee.displayName}} - Late tickets
Body would be something like:
Hello {{assignee.displayName}}
You have a list of tickets that are unattended to:
{{for loop of issues}}
[{{issue.updated}}: {{issue.summary}} - {{issue.key}}]({{issue.url}})
{{/for loop of issues}}
Any advise on how to do that?