Create sub-task for specific issue type - 7.x

Scenario

Estimated Time: 9 min

Each time a new issue is created that is of a certain issue type, you want to create a sub-task using the same summary as the parent issue.   

Background

This scenario uses an example ePub workflow that helps teams coordinate the publication of electronic books. We can configure a Create Sub-task post function that processes when users transition issues from the "Open" to "In Draft" steps. For each instance of this transition, we inspect the issue type and if it is a "Task", we automatically create a new sub-task issue linking it back to the parent issue. We inspect the issue type using one of Create on Transition's powerful Substitution Variables.

Steps

The following steps demonstrate how to configure Create on Transition, using regex inspection of the issue type and applying the proper linkage between issues: