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
JQL condition
Add the following expression:
status = "Done"
Issue selector
Next to the JQL condition click on Add → Issue selector.
Select Issue list expression as the target issue(s).
Add the following expression:
issuesUnderEpic()
JQL condition
Next to the Issue selector click on Add → JQL condition
Add the following expression:
status != "Done"
Transition issue
Next to the JQL condition click on Add→ Transition issue