This use case serves the purpose of giving a detailed explanation on how to create several sub-tasks depending on the component or components in the Components field.
Add a Create issue post function to the workflow transition of your choice.
Issues to be created
Choose Multiple issues.
Write an expression using this format with parsing mode in Text list.
In this expression we check that every defined component is in the Components field and, if it is, we add the texts between quotation marks to a text list. The number of elements in the resulting list defines the number of issues to be created.
Choose Selected issue type.
Specific issue type
Choose Current issue.
Enter the following expression
with parsing mode set to Advanced text.
The texts of the text list of the previous expression will replace in each newly created sub-task the seed text field code.
To enrich the issue with further information, you might want to add a short description, although it is not mandatory.