Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Script Runner: Script listener- validate assignee is group member

Michael Shechter June 10, 2018

Hello, 

I want to create script listener that run on issue assigned. the Script should check if the assignee is a group member based on group picker field.

if the assignee isn't a group member, the user should get a warning   message and  assignee should not change

how can I do it? 

 

Thanks!

 

 

1 answer

3 votes
Ignacio Pulgar
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
June 10, 2018

Why don't you just set the Assignable User permission to that of the group picker custom field in the project's permission scheme, removing that permission from anyone else?

Suggest an answer

Log in or Sign up to answer