Thanks for reaching out to us with this inquiry. It is possible to achieve the required functionality by utilizing a Condition provided by the Jira Misc Workflow Extensions plugin. Once you install this plugin, you can follow the below steps to force the Epic to remain open until all child Stories are close:
@ASweeten - I found this via a google search. We have JMWE installed on our cloud instance, but I don't see any conditions added by JMWE. I do see (and have used) JMWE-specific post-functions. We used the add-on in our on-prem install, and conditions are available.
I just checked the knowledgebase for the add-on, and it indicates that due to the Connect framework for Cloud, conditions and validators are no longer available via the add-on, but have been integrated natively into Jira Cloud.
So where can I find the Linked Issue condition you mentioned in your answer? I'm not seeing it...
Unfortunately, only the Conditions and Validators that were available in JMWE for Jira Server mid-2016 were integrated natively into Jira Cloud, and the Linked Issues Status Condition isn't one of them.
Unfortunately, until Atlassian makes configurable Conditions and Validators available to apps, you won't find any solution to your problem on Jira Cloud.
Hi @Murugan Mittapalli and team,
Please find below a solution applicable to Cloud Jira (Premium or Enterprise, as long as you got access to Automations) which doesn't rely on third party add-ons (e.g. JSU, JMWE or Scriptrunner).
1. Create a custom number field (e.g. EpicClosure or FeatureClosure)
2. Add a "Value Field" Condition to the Done/Cancelled Epic Workflow transition to allow closing only if the EpicClosure is 1).
3. Create an automation rule to set EpicClosure to 1 when all the Stories which link up to the Epic are Done/Cancelled.
(When: Issue Transitioned - For Epic (parent) - if: Stories match Status in (Done, Cancelled) - then: Edit issue fields EpicClosure to 1).
4: Create a second automation rule to set EpicClosure to 0 when Stories aren't all in Done or Cancelled.
(When: Issue Transitioned - For Epic (parent) - if: Stories match Status not in (Done, Cancelled) - then: Edit issue fields EpicClosure to 0).
Hope this helps and have a good one.
Connect with like-minded Atlassian users at free events near you!Find an event
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no Community Events near you at the moment.Host an event