Hi there,
We use Jira Automation a lot to remind us of due tasks. I'm facing the problem that we get one email per task and I'd like to get one email with all due tasks in the next week (see JQL).
Does anyone know if this is possible and how?
JQL: project = "x" AND assignee = xx AND due < endOfWeek("+1") AND NOT status="done"
email-text:
Dear x, this is your reminder that your task ( {{issue.summary}} ) is due on {{issue.duedate}}. Here is the link to your task: {{issue.url}}
Thanks a lot!
Hi Lea,
You will need to use the lookupIssues functionality. Take a look at this previous post for guidance.
That sounds good - I tried it but it didn't really work, seems like I'm missing a step (or two):
1. Trigger (every Friday)
2. then: Lookup Issue -> project = "x" AND assignee = xx AND due < endOfWeek("+1") AND NOT status="done"
3. and: send email: Dear x, this is your reminder that your task {{lookupIssues.first.assignee.displayName}} is due on {{issue.duedate}}. Here is the link to your task: {{issue.url}}
Questions:
My second step finds every due task but it's not displayed in my sent email and what shall I enter in the bold marked variables?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Can you share a screenshot of the actual rule?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
(For security reasons, I have changed the email address)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Can you share the details of the Send Email action? (The last step)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I figured it out, the final mail looks like this:
Dear X,
This is your reminder that the following tasks are due next week:
{{#lookupIssues}}
- {{summary}} ({{url}})
{{/}}
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Just stumbled over this:
Is the JQL working?
Last bit looks wrong to me, should be:
"AND status not in (done)"
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.