With this workflow post-function, you can ensure that current user has work logged before execute this transicion.
Add
validator
.SubTasks Status Validator
from the list of validators.Add
to add the validator on the transition.Status – Set here the issue status you want validate against.
Error Message – Set here the message you want to display o users when this validation fails.