On this page
Use case
Avoid all the manual work by automatically closing stories when the epic is completed.
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 boolean expression:
%{trigger.issue.status} = "Done"
Issue selector
Next to the JQL condition click on Add → Selector → Issue selector.
Target issue(s)
Select Issues under epic/ stories
Boolean condition
Next to the Issue selector click on Add → Condition → Boolean condition
Add the following expression:
%{selector.issue.status} != "Done"
Transition issue
Next to the JQL condition click on Add → Action → Transition issue
Mode
Choose transition to status
Status
Choose Done
Enable the rule by clicking on the Enable button →
Screencast
No screencast available at the moment.
Import the example
Import the JSON file below to get started in no time.
Related examples
If you still have questions, feel free to refer to our support team.