If I have a testing sub-task and a validation sub-task, when my ticket transitions from state 1 to state 2, I want to ensure that all testing sub-tasks have been closed. The validation sub-task can remain open.
You have to use validator Validation on sub-tasks with the configuration shown in the following screenshots:
Once configure, transition will look like this: