We have a custom field for the code Reviewer. When a ticket is moved into the Resolved state, we'd like to automatically assign someone to be the Reviewer. Since we only have two programmers, this will be the person who is not the Assignee.
I tried a few Post Functions on the state transition, but couldn't get anything to work. We have JSU installed for some other verification steps.
What is the best/right way to automatically assign someone to a custom field during a state transition?