On this page
Use case
Creating repetitive issues might be time-consuming work, especially when done on a daily basis. This automation rule can be used for pre-configuring sub-tasks.
Each time a new task is created, all needed sub-tasks will be created depending on the selected values in a checkbox field.
Issue Created event
Providing a description will help you to identify what the rule does but this step is optional.
Add a Trigger → Issue event → Issue Created
Create issue
Add Action → Create issue
Issues to be created*
Choose Multiple issues
Parser Expression*
toStringList(%{trigger.issue.cf11500}) #Replace field code with the field code of your custom field. Use the field dropdown to automatically insert the field code
with the Parsing mode set to String List
cf11500 is the field code for the custom checkbox field to be summed up. The field code will differ in your instance.
Issue type*
Choose Sub-task
Parent issue*
Choose Trigger issue
Summary*
Use the following parser expression in the Advanced parsing mode:
^% # This is a reference to each value returned by the string list
Enable the rule by clicking on the Enable button →
Screencast
This is how the configuration above should look on your screen
Related use cases
Use case | Automated action | Use case description | Complexity |
---|---|---|---|
Add sub-tasks to an issue on creation | Automatically create 3 sub-tasks - Documentation, Marketplace and Newsletter. | BEGINNER | |
Create sub-tasks depending on selected values in a custom field | When an issue is created, sub-tasks for each option selected in a checkbox custom field will be created. | INTERMEDIATE |
If you still have questions, feel free to refer to our support team.