I'm trying to create an automation rule that will automatically close Epic (status Closed) as soon as ALL of its children are closed (resolution is set). Could you tell me what the syntax of the rule will look like?
I used ideas from all the answers and created a rule that completely solves my problem.
Thanks to your answer I was able to come up with a solution for my case.
I'll put it here in case it can be useful to someone else
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Andrey,
You could try something like the following:
I've just used 'Done' as an example but you can change that to whatever Statuses you use.
Also in the IF statement use 'All match specified JQL' so all must be in that status to then transition the Epic.
Hope that helps.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thank you for posting this!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @Andrey Rudnev -- Welcome to the Atlassian Community!
Whatever rule you use to transition the epic to "done", you may want to also change the "Epic Status" to "done". We do that so the epics are removed from dropdown lists and the epic panel. To do this, you will need to use advanced edit for the field:
{
"fields": {
"customfield_10010": { "value": "Done" }
}
}
Kind regards,
Bill
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Andrey - Welcome to the Atlassian Community!
You should move the condition to below the branch for the epic.
One of ours looks like this:
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Great! Glad you got it working!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.