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
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.
I was just in too much of a hurry. I didn’t save before the test. Great job.
It looks like you're new here. Sign in or register to get started.