I use Jira Cloud and set up an automation to transition a task when all its subtasks are transitioned. It works, but if for example a task has 10 subtasks, and I transition all of them together, the automation triggers and transitions the parent task 10 times. Is there some way to prevent all these duplicate transitions? Screenshots of the automation and duplicate transitions in the task history are below. Thanks.

