Our company runs Jira 9.4.21. I have an automation rule with a CRON scheduled trigger that creates a task with predefined properties (assignee, component, label) at a specified time on the first day in month, applies checklist template and sends an email to the assignee of the task, notifying of the task creation.
The rule runs correctly at the triggered time, creates the task, however the subsequent actions do not run - the checklist template is not applied and, most crucially, the email is not sent.
The audit log says the following about the checklist template import:
The following imports have been successful:
(and nothing after the colon, i.e. nothing was imported)
And about the email send action:
As there is no issue present, cannot get the value of the field: assigneeCould not send email, the 'To' address field is empty. If you have referenced a field it may be empty.
However, shouldn't the task that was just created be used for the context of getting the assignee value (and all other values, like key, summary description, etc.)?
Here are the screenshots, what am I doing wrong?
Hi @Tomáš Petrík and welcome to the community,
I think you need to add a branch 'most recently created issue' and in the branch you need to import template & send the email, like this:
The reason is that otherwise the automation does not know to which of the issues created it should import the template or send the email about.
Thanks a lot, it solved the problem, now it works as intended!
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.