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.
That tells me that the rule has not triggered since you changed the config. You need to transition a sub-task.
did you try the "statuscategory"?
Ok - So your trigger is still only looking for when issues are transitioned to Done. You'll need to include Cancelled in your trigger.
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
I've encountered an issue with a Jira Cloud automation rule, and I'm hoping someone can help me resolve it.
I've set up an automation rule to count field changes in an issue from Monday to Friday. However, it appears that the rule is also counting changes on Saturday and Sunday, which is not the intended behavior.
Is there a way to configure the automation rule to exclude weekends (Saturday and Sunday) from the count? I want it to operate strictly on weekdays.
Any guidance or suggestions on how to achieve this would be greatly appreciated.
Thank you in advance for your assistance!
I would use this...
statuscategory = done
The reason being, if you ever add another "done" status it will still work.