How to create multiple issues based on the number in a custom field
This article explains how to create multiple issues based on the number selected in a custom field using the Create on Transition app.
Instructions
Demo is considered as a numeric custom field in this article.
- Add a post-function to the intended transition to create an issue. To add a post-function, navigate to Cogwheel > Issues > Workflows > select the workflow of the project and edit the same.
- Select Create Issue post function as shown below:
- Select the Conditions & Configurations tab. You can consider adding a condition either by considering the custom field ID or by custom field name as shown below:
- Add %function_list(1, %customfield_12200%)% in the
By providing the mentioned function_list function, multiple issues arecreated based on the numeric value entered in the custom field: Demo.
- Click Update to save the settings. Verify the condition:
- Publish the workflow draft.
- Perform the transition In Progress as configured. You notice that issues are created based on the numeric value entered in the custom field: Demo.
It is recommended to try the solution provided in a non-production environment and ensure everything is working as expected, before trying in a production environment.