This article explains how to create a sub-task based on the value selected from the custom field in Create on Transition app.
Instructions
Perform the steps:
- Login as a Jira Administrator and click > Issues.
- Click on the button Add custom field which is at the right top corner.
- Select a Field Type as Select List (multiple choices) and click Next.
- Enter Name, Description (optional) and Options in the respective fields, and click Create
- It traverses you to the Screens section. Choose the required workflow screen(s) and click Update
- In the Workflows tab, click on Edit link to the required workflow.
- Select the transition for which you want to add /edit post function. Select the Post Functions option.
- Click Add post function.
- Traverse to the Conditions and Configurations option and add the custom field with Regular Expression pattern ( | ) as mentioned in below post function.
10. Click on Update and Publish the workflow.
Example test case:
1. Multi-select values for the custom field Services.
2. Sub-task will get created based on the condition value mentioned in the post function.
It is recommended to test the post-function in a non-production environment before implementing it in the production environment.