...
Add Conditioned Validator
Select Validator
Click the Add Validator button in the Validators section of the workflow transition you want to apply validation on.
Find and select the Conditioned Validator in the list.
Click the Add button to add the validator to the selected transition.
...
Add Details
Enter the following details in the Conditions & Configuration tab:
"Original_Priority" in Condition 1 and "Blocker|Critical" in the corresponding Regular expression pattern field.
"jql_result_count" in Condition 1 and "0" in the corresponding Regular expression pattern field and select Negative.
Select the Messaging tab.
Enter the following:
"For this issue, the issue must have Blocker or Critical priority and at least one sub-task. Issue priority - "original_priority"" in the Message field.
"Notes for the function" in the Notes field.
View Validators
When viewing all validators, helpful information is displayed.
...