Use case
Avoid all the manual work by automatically closing sub-tasks when the parent issue is completed.
⚒️ Configuration
Issue transitioned event
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 → Issue transitioned event
Boolean condition
Add the following expression:
%{trigger.issue.status} = "Done"
Issue selector
Under the Boolean condition click on Add → Issue selector
Target issue
Choose Sub-tasks
Boolean condition
Next to the Issue selector click on Add → Condition → Boolean condition
Add the following expression:
%{selector.issue.status} != "Done"
Transition issue
Finally, next to the Boolean condition click on Add → Action → Transition issue
Set the mode to Transition to status and choose the status Done.
Enable the rule by clicking on the Enable button
📤 Import the example
Import the JSON file below to get started in no time.