Create subtasks on initial issue create
You can use the create subtask transition post function to create subtasks when the issues are first created.
Steps
- In the Administration > Issues > Workflows page, select a workflow and click Edit. 
- Go to the Open step. 
- Click the Create Issue incoming transition. 
- In the Transition: Create Issue page, go to Post Functions. 
- In the Post Functions tab, Click Add post function. 
- In the Add Post Function To Transition table, select the Create Sub-task (Create on Transition) option. 
- Click Add. 
 The Create on Transition for Jira - Create Sub-task(s) page is displayed.
- In the Conditions & Configuration page, select the Create if original issue is a sub-task option to prevent looping. 
- Set the other parameters as required. 
- Click Add. 
 The Create Sub-task post function is added to the workflow.
- Move the Create Sub-task post function below the Creates the issue originally. post function. 
 When you create a parent issue using this workflow a subtask will be created.
- Make sure to create a draft of a workflow before you edit it. 
- Your configuration must have looping prevention included. Follow the steps and make sure you test carefully on a test instance or project. 
Need support? Create a request with our support team.
