On this page
Use case
According to this use case, often it might be helpful to have a predefined set of issues for testing purposes. But if you've created several issues, wouldn't it be great to delete them as quickly as they were created? Take the following rule and save time!
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
Use the following Expression:
parent = nnnnn
nnnnn has to be an issue key. In this we are going to delete all issues that are sub-tasks under the specified issue.
But you can also adapt the configuration to your needs!
Delete issue action
Next to the JQL Selector click on Add → Action → Delete issue
No further configuration needed.
Screencast
This is how the configuration above should look on your screen
Related use cases
Title | Automated action | JWT feature | Label |
---|---|---|---|
Manually delete test issues |
If you still have questions, feel free to refer to our support team.