How to create multiple issues based on the number in a custom field

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.

  1. 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.

  2. Select Create Issue post function as shown below:



  3. 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:

    1. Add %function_list(1, %customfield_12200%)% in the Create multiple issues section. customfield_12200 is the customfield ID of Demo.


      Custom field ID can be identified by hovering the mouse over the respective custom field on the screen:

    2. Add %function_list(1, %Demo%)% in the Create multiple issues section:


      By providing the mentioned function_list function, multiple issues arecreated based on the numeric value entered in the custom field: Demo.

  4. Click Update to save the settings. Verify the condition:

  5. Publish the workflow draft.

  6. 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.