Hi All
Warm Greetings!!
Is it possible to hide selected issue types from users unless they are in a specific group? We have a number of issue types that are for internal use only but users often mistakenly use them. We'd like to hide them from everyone but those in our team's group?
Eg:-
Project contains 3 issue types
Task
Bug
New Feature
Bug issue type should only be created by users in JIRA-Test group.
I tried simple script validator like
issue.projectObject.key == 'ABCD' && isUserMemberOfRole('Administrators') && <a href="http://issue.issueTypeObject.name" rel="nofollow noopener noreferrer">issue.issueTypeObject.name</a> == 'Bug'
but it won't be nice to tell the users that they are not allowed to create issue type after filling entire form.
I remember that @Jamie Echlin [Adaptavist] wrote the similar script to implement this but that script isn't there in https://scriptrunner.adaptavist.com or maybe I'm not looking at the correct page.
please suggest