On this page



Use case

Create a sub-task for each selected component in the current issue, you can make use of this function to avoid repetitive tasks when you have multiple components and want to create a sub-task for each.


Configuration


Add an Create issue post function to the workflow transition you want.


Issues to be created


Mode

Choose Multiple issues.


Expression

toStringList(%{issue.component})

with parsing mode set to Text list.

The number of list elements defines the number of issues to be created.



Issue type

Choose Selected issue type.


Specific issue type

Choose Sub-task.


Parent issue

Choose Current issue.




Summary

Enter the following expression 

"Sub-task related to " + ^%

with parsing mode set to Advanced text.


Description

To enrich the issue with further information, you might want to add a short description. It is not mandatory, though.




Screenshots



Related examples




JWT feature

Workflow function

Create issue

Parser functionstoStringList()
Label





Status
Tech review

Style guide