Hi all,
When an issue is created, the assignee must be the reporter, but if this assignee is NOT part of a specific group, the assignee must be the project lead.
I was trying to make 2 post functions, the first "assign to reporter" and the next, if current user is not part of a group "X" then assign to specific role or project lead.
I thought that it would be pretty simple and found some links doing similar things with script runner but I have been trying and I can't get it working... I'm pretty useless with scripting, developing and all of this kind of things. The people in my org who are in charge of scripts, listeners, etc, are on vacations right now and I need a resolution as quickly as possible.
Can someone, please, help me?
https://community.atlassian.com/t5/Jira-questions/Groovy-Condition-User-assignee-NOT-in-group/qaq-p/111061
https://community.atlassian.com/t5/Marketplace-Apps-questions/jira-scriptrunner-user-belongs-to-group/qaq-p/640102