---
title: "How to create subtasks on initial issue create"
canonical: "https://support.appfire.com/space/SUPPORT/89135370/How%20to%20create%20subtasks%20on%20initial%20issue%20create"
format: markdown
---
Description The create subtask transition post function can also be used when issues are first created.  Steps Edit your workflow - create a draft if necessary Go to the  Open  step Click on the  Create Issue (1)  incoming transition Go to  Post Functions Add   Create  sub-task on transition  post function To  prevent looping , make sure you set the condition to ignore create if issue is a subtask:  Set other parameters as you need Move  the post function below the  Creates the issue originally  post function -  This is important! Looping hazard Be careful! Your configuration must have  looping prevention included . Follow the instructions carefully and make sure you test carefully on a test instance or at least a test project.       What about creating issues? That can be done using the same techniques, but you  must be more careful  to set the appropriate conditioning parameters to prevent looping. Use a test instance and double check your logic as the result of an error is bad  . Preventing looping is more difficult with issues compared to subtasks. You will need some specific conditions according to your environment. For instance, a value for a custom field that will indicate to create or not to create an issue. Or perhaps a JQL query that will indicate to not create.