Hello, I have been trying to limit the issue type based on the user group to specific project with no success via Behaviours on Jira ScriptRunner.
Example User belongs to the group JIRAtests should only be available to create issuetypes A and B, while users that do not belong to JIRAtest should be able to create issue types A, B and C
I was trying to achieve this via Scriptrunner behaviors but no success at all.
In addition to what @Trudy Claspill pointed out on the syntax error, please kept in mind that in JSM what users sees are the Request Types to create his/her issues for your JSM project.
Request Type is based on the IssueType allowed in your project. So are you asking to restrict request types access based on group association? If, take a look at this reference link out of the box for JSM to restrict request type access for issue creation (without using Behavior setup) -
Hope this helps.
Best, Joseph Chung Yin
Hello @Rodrigo Gomez
I think the syntax of your line here is incorrect:
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.