/
Limit the assignee to a specific group
Limit the assignee to a specific group
Here’s a video on how you can limit the assignee to a specific group.
Use the following script as a workflow transition validator to allow transition only if the assignee is in a specific user group.
string errorMsg = "You can only assign issues to members of your same team";
if(userInGroup("Customer Relations Team", currentUser()) && userInGroup("Customer Relations Team", assignee)) {
return true;
}
else {
return false, "error", errorMsg;
}
Related content
Assign issues to the previous assignee
Assign issues to the previous assignee
Read with this
Assign to role member (Deprecated)
Assign to role member (Deprecated)
More like this
Only Assignee can transition an issue
Only Assignee can transition an issue
More like this
Assign Issue to Specific User Role post function
Assign Issue to Specific User Role post function
More like this
Fine-tune workflow transitions with User Group and Project Role condition
Fine-tune workflow transitions with User Group and Project Role condition
More like this
Select users included in two sets intersected with a third one
Select users included in two sets intersected with a third one
Read with this