I created a new user lookup field called 'Code Reviewer'. I also have a workflow status called 'Code Review'.
If the 'Code Reviewer' field is not empty, I want to require the ticket to go to the 'Code Review' status before the status gets set to closed.
If the 'Code Reviewer' field is empty, I don't want to require the ticket to go to the 'Code Review' status. It can go straight to closed.
How do I do this with workflow automation or global automation rules?