On this page
Use case
Sometimes it might be helpful to have customized test issues at hand for several scenarios; testing new feature implementations, new project setups or simply new JWT automation rules.
The following rule will take care of exactly this: Creating customized issues for testing anything that needs to be tested.
Manual trigger
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 → Manual
No further configuration needed. The rule will only be executed if a user hits the Execute button .
JQL Selector
Add Selector → JQL Selector
JQL Query*
Use the following Expression:
key = nnnnn
nnnnn has to be an issue key. In this case we are going to create test issues as sub-tasks under a predefined issue.
But you can also adapt the configuration to create tasks in a specific project/ under an epic/ etc.
Create issue action
Next to the JQL Selector click on Add → Action → Create issue
Issues to be created*
Choose Multiple issues
Parser Expression*
Enter the following expression with mode set to date/ mathematical:
3
Issue type*
Choose one of the available sub-task issue types
Issue type*
Choose Selected issue
Summary*
Enter the following Expression with mode set to Advanced:
"+++TESTING+++ Sub-task " + ^
Description
Enter the following Expression with mode set to Basic:
Sub-task for testing purposes
Fields
Set the fields according to your needs.
Screencast
This is how the configuration above should look on your screen