Hello,
We have a use case where we need to restrict a transition to a custom field value (group picker). But, when the field is left empty, We want users who has transition permissions to the issue should be able to do the transition. (we want other users to close the issue when the group picker field is empty. when there is a group selected, only the members in the group should be able to close the issue).