I'm using jira.permission.create.group on the workflow transition Create but it doesn't seem to work.
The goal is this, I have 10 Issue Types as follows:
IT01
IT02
IT03
IT04
IT05
IT06
IT07
IT08
IT09
IT10
But would like GROUP1 to only see IT01. How do I go about this?
Hello,
You would need an add-on for it. For example, you could use the Power Scripts add-on:
There is a feature, called Live Fields. This feature can do actions on fields in the Create, Edit and Transistion screens. You can find more info about Live Fields here:
https://confluence.cprime.io/display/JJUPIN/Live+Fields
There is a similair guide to your requirements here:
https://confluence.cprime.io/display/TR/Forbidding+users+to+create+some+issue+types
In your case the script would look like this:
string[] allowedTypes = {"IT01"};
if( userInGroup("GROUP1", currentUser())) {
lfAllowSelectOptions("issueType", allowedTypes);
}
Errr... yeah... I don't think we can take on another add on. We have script runner though. I've just added a validation but would really like the issue list to be more precise and not have extras that the user cannot create.
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.