Hi, hope everyone doing well. I am looking for some help with my below Jira automation rule - please refer attached image.
I want this rule to be triggered only when the parent issue is marked as Done with Resolution as Done. But at the moment even with resolution selected as Won't do or Duplicate, the rule is getting triggered, it is not respecting the condition I have given as if: parent matches status = Done AND resolution in (Done). Any guidance please what is that I am missing here?
Hi @Troy
The trigger controls when a rule starts and conditions limit the continuation of steps.
As your rule is written, and assuming it is a single-project scoped rule, it will:
Does this match the scenario you want? If not, please describe the problem you are trying to solve; that extra context may help the community to offer better suggestions.
Kind regards,
Bill
Thanks for your response @Bill Sheboy
Yes, you got that right, so basically say I have an issue type = Story (can be Epic, Initiative etc.) and that parent issue has some subtasks, when I mark the parent issue as status= Done with resolution = Done, the rule will check for existence of any linked subtasks that are NOT in Done status and if found it will move back the parent issue to 'In Progress' from Done.
The rule is working fine however even in the instance when resolution is selected as Won't do or Duplicate while marking parent issue as Done it is coming into play and moving back the parent issue to 'In Progress' which is what I don't want.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I'm a bit confused by what you describe...
First, Epics and Initiatives do not have subtasks; subtasks are a part of a standard issue type, such as Story, Task, or Bug, as a child item.
Next, if you want the rule to start when something happens to the parent issue, your conditions seem incorrect. Perhaps this is what you are describing:
If you need a similar rule for "when an Epic transitions to Done, check its child issues...", you could either use multiple rules or use an if / else condition on the issue type for each section:
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Sorry about the confusion Bill :(
The requirement was only for issue type= Story/Task/Bug and thanks for the helpful pointers, I was able to achieve that via below workflow
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.