Is there a way to allow only two groups, say admin and devoloper, to opening one Issue Type? it would be desirable without Script Runner but with JMWE.
Sure. You can create a Scripted (Groovy) Validator with a script like:
issue.get("issuetype").name != "Bug" || currentUser.isInGroup("devs") || currentUser.isInGroup("admin")
Of course you'll need to adapt the code to the exact issue type and groups.
issue.get("issuetype").name != "Change intern" || currentUser.isInGroup("Developers") || currentUser.isInGroup("Administrators")
No, won't work. For some reason I get this message
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Did you first "test" the Groovy script using the Test Groovy Script button on the Validator configuration page?
You can also check your Jira logs for a detailed error.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I was just in too much of a hurry. I didn’t save before the test. Great job.
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.