Use the Assign to First Member of Role post function to automatically assign an issue to the first member of a user role after it transitions.
For example, you want to assign a Tester group member to an issue after it transitions from In Development to In Test.
Select the Assign to First Member of Role [ScripRunner] post-function.
Enter a description of the post function in Note.
Enter the Condition for which, when true, the post function fires.
If this is left blank, the post function is always triggered.
Select the Role of the user to assign. The first in this role is assigned when the issue transitions.