Overview
This article explains how to create a sub-task using the app, Create on Transition's Create sub-task post function, based on a custom field value on the parent issue.
Instructions
Add a post-function in the workflow associated with the parent issue. To create the post function,
- Log into Jira as an Administrator and click > Issues.
- Under the Workflows section, select the intended workflow and click the Edit link.
- Select the transition to which you wish to add the post-function. Select the Post Functions option as shown below:
- Click the Add Post Function link and select Create Sub-task from the available options.
- Provide the below post function along with the Conditions:
a) Provide the custom field customfield id in the Condition value and their values in the Regex pattern as shown: - Click Update and publish the workflow.
- Once the post function is created for the transition based on field values for , and if only the specified values are given for the custom fields, for example: Release and Release instance, you may notice that a the sub-task is created for the issue.
...