What I need is the rule to go through all new work items in a project and if it doesn`t find a due date on one of these it should shoot a mail back to the reporter so he can add a due date.
I want to start with the fact that our Jira instance does send out mails normally but just doesn`t do so for this automation.
I have this :
But this doesn`t seem to work.
Any help is appreciated!
Thank you!
Mihai
Hi @Mihai Vasile
Welcome to the Atlassian Community!
There you don't need branch.
Try this one.
Trigger: Scheduled --> JQL - project = PROJECT AND duedate IS EMPTY
Action: Send e-mail
To: Reporter
Subject: ---
Body: --
Please let me know.
Hi, Mihai. Welcome to the Atlassian Community!
If you use the trigger like this:
You don't need to user "For current issue" or any other loop, because you already set that in the automation trigger. So would be something like this:
I started with a potential solution since it’s the most likely fix for your issue. That said, if you can share the automation logs and a bit more context about the “not sending email” part, that would help a lot.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Mihai,
The other community members already answered your exact question, so that is covered.
Why don't you force the due date at creation of the work item OR require it on a transition where you really need to have that due date?
This way you fix the behavior at the root instead of patching it afterwards, resulting in a better user experience because your user does not have to revisit and correct?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @Mihai Vasile -- Welcome to the Atlassian Community!
I agree with the suggestion that requiring the Due Date when the work item is created might be better than sending reminders later.
When you still want to send reminder emails, please consider sending one email per reporter per day in case they submit multiple work items. This knowledgebase article describes a similar scenario to use as a template. You may want to adjust the JQL for the Lookup Work Items action to only check work items created in the last 24 hours...and which are not already resolved.
I also recommend pausing to understand why the Due Date field is required in your process. That is, what problem are you trying to solve? This may reveal other possible improvements and mitigate unintended consequences. (For example, to bypass a required field, people may enter a dummy value when they do not have a date yet, and then clear the value later.)
Kind regards,
Bill
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.