In this use case, we will create randomly sub-tasks for specific issues.
Use the following use case to create random issues with your desired specifications!
Add a Create issue post function to the workflow transition you want.
Issues to be created
Choose Single issue
Choose Selected issue type → Sub-task
Choose Current issue
The parameters above can be changed to your specific needs, check the related use cases for inspiration.
Enter a summary according to your needs, like
Weekly test
To enrich the issue with further information, you might want to add a short description. It is not mandatory, though.
You have the possibility to set additional fields on the issue to be created.
Maybe you want to predefine the issue Assignee or a time estimation for time logging purposes.
Don't want to set the fields? You can also copy existing values from the current issue!
For further information, you might want to take a look at the Create issue documentation.
This is an optional parameter where you can define issue links for the issue to be created.
If you want to copy issue keys of created issues into the field Temporaty Text 3 as a text list, choose this option.
To have the issues created randomly, enter the following expression:
modulus(round({system.currentDateTime}/random()*10),3) = 0
You can read more about the JWT expression parser functions used in the expression above:
Create issue
modulus()
round()
random()