Hello Everyone,
So I'm trying to email send a summary of tasks "Waiting for approval" to each reporter every day. I've prepared an automation and it does send an email to each reporter but the content of the email contains all the tasks from all reporters not only his/her tasks.
Below are screenshots of the automations. If you kindly advise on that.
Hi @Mohammed_Zeyad -- Welcome to the Atlassian Community!
Please see this knowledgebase article which describes a rule for this scenario. For your case, you will need to change the JQL and fields used.
Kind regards,
Bill
Thank you, @Bill Sheboy, this actually helped.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Welcome to the community.
You need to place the lookup issues action within the Branch.
Then based on reporter the issues will be searched.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Is this correct?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Yes, this should work.
Also see this KB article on the email action to list all found issues per reporter and list them in a single email.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks very much @Marc - Devoteam , it worked out.
Here's what I changed:
Removed the JQL in the Trigger
Add a lookup after the trigger.
Add a lookup within the loop.
Change the variable Name from reporter to distinctReporter (less confusion) so that I can later use it in the lookup inside the loop to query as follows
status = 'Waiting for approval' AND due <= now() AND reporter = {{distinctReporter}}
And below is a screenshot for whoever sees this in the future:
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello @Mohammed_Zeyad
You need to switch the lookup issues with Branch : JQL.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.