Assign to First Member of Role
The Assign to first member of role post function automatically assigns an issue to the first member of a user role after it transitions. For example, you want to assign a Tester role member to an issue after it transitions from In Development to In Test.
Note: This post function selects the first person in alphabetical order from the chosen role. If you want to randomize who is selected, you should use the example provided on the custom post function page.
Use this post function
You can now test to see if this post function works.