Create new stories/tasks and respective subtasks when the automation rule is triggered
Platform Notice: Cloud Only - This article only applies to Atlassian products on the cloud platform.
Summary
How to create a Jira automation rule to schedule the creation of Story/Task and respective Sub-tasks.
Before walking through this example, we recommend the guide Automation in Jira tutorials as a means to familiarize yourself with using Automation in Jira.
Solution
Note
You must be a project admin or a Jira admin in order make these automation configuration changes.
Below is the automation rule to get the requirement fulfilled:
When: Scheduled
Then: Create a new (Issue)
And: Create variable Create smart value variable (
{{RecentStoryCreated}}
)And: Create a new Sub-task
And: Create a new Sub-task

The schedule is quite simple depending on the requirement. After which we will be creating a Task/Story. The next step is to have a variable created to store the Story/Tasks issues key which will be used later on.
The variable will be storing the value using the smart value "createdIssue.key
"
, which will refer to the Story/Task created earlier in the automation.
The next step is to create multiple Sub-Tasks and use the variable in the Parent Issue field so that the created Sub-Tasks will be mapped under the created Story/Tasks (smart value {{RecentStoryCreated}}
.
Was this helpful?