Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Subsequent tasks not completing for an issue created with automation on schedule

Tomáš Petrík
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
October 1, 2024

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: assignee
Could 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?

1.png2.png

1 answer

1 accepted

3 votes
Answer accepted
Rudy Holtkamp
Community Champion
October 1, 2024

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:

 

image.png

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.

Tomáš Petrík
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
October 1, 2024

Thanks a lot, it solved the problem, now it works as intended!

Like Rudy Holtkamp likes this

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
TAGS
AUG Leaders

Atlassian Community Events