You're on your way to the next level! Join the Kudos program to earn points and save your progress.
Level 1: Seed
25 / 150 points
1 badge earned
Challenges come and go, but your rewards stay with you. Do more to earn more!
What goes around comes around! Share the love by gifting kudos to your peers.
Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!
Join now to unlock these features and more
I have an existing automation rule that will set the Story to DONE when all the Sub-Tasks are set to Done (When all sub-tasks are done → move parent to done). Works perfect. We now have administrators using the Cancelled status in their Sub-Tasks, so I need to adjust the automation rule.
When: Issue is transitioned to Done
For Parent - Status does not equal Done. And: Sub-tasks match "status = done". Related issues = Sub-tasks. Condition = All match specified JQL.
Then: Transition the issue to Done.
When I change And: Sub-tasks match "status = done OR status = cancelled" or "status = done AND status = cancelled" the rule fails to transition if the sub-tasks are set to cancelled. If one sub-task is set to cancelled and one sub-task is set to done the rule fires appropriately. I have tried many possible variations in changing\adjusting the "And:Sub-tasks match" field.
Is there something specific to the Cancelled status?
Thank you for your help.
Did you see my last comment? You'll need to update your trigger to include Cancelled.
Also - statusCategory is indiscriminate of individual statuses as it relates to the status colors you see on the screen (Gray = To Do, Blue = In Progress, Green = Done). So assuming both your Done and Cancelled statuses are green, it would be statusCategory = Done