On this page



Use case

When an issue is created, sub-tasks for each option selected in the 'Checkbox' custom field are added.



Function

<link to function being used>

Use case descriptionWhen an issue is created, sub-tasks for each option selected in the 'Checkbox' custom field are added.
Complexity




Issue Event


Create a new rule and name it appropriately.


Providing a description will help you to identify what the rule does but this step is optional.


Add a trigger and choose the Issue event → Issue created


No further configuration needed. The automation rule is triggered every time an issue is being transitioned.


Create Issue

Add ActionCreate Issue






Issues to be created*

Choose Multiple issues


Parser Expression*

toStringList(%{trigger.issue.cfnnnnn})

with the Parsing mode set to String List

Note that: nnnnn is field code for the checkbox custom field.



Issue type*: Choose Sub-task


Parent issue*: 

Choose Trigger issue






Summary*

Use the following parser expression :

  ^ % 

with the Parsing mode set to Advanced


  ^% is the string depth



In the Summary* do not use space between ^ and %, it was showing like that for display purposes!









Activate the rule by clicking on the Activate rule button 




Screencast

This is how the configuration above should look on your screen



Related examples



If you still have questions regarding this example or others, feel free to refer to our support team.