Is it possible to restrict the creation of a specific issue type based on the user's role within a project? For example, I want only users with the "Developer" role to be able to create "Bug" issue types. How can I configure this in Jira?
Hi @Ivan Monma ! Another thing to consider without a marketplace app is that if your issue type has a workflow that is not shared with other types, you can add validation to it based on role and that could work.
Hi @Ivan Monma ,
Usually the right place for this operation is on "Validators" part of "Create" transition. However, with current setup of Jira Cloud, you cannot add this kind of validator to the workflow without a plugin.
So, you may consider adding some popular plugins such as ScriptRunner, JWT or JMWE in order to do that operation smoothly.
Also, as an alternative, you may not restrict the creation but you can add an automation that checks the user's role and automatically make transition to "Cancel" status.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @Salih Tuç thank you for your response! I already have ScriptRunner installed on my Jira Cloud. Could you help me with the best way to configure this restriction using ScriptRunner?
If a specific script is required, could you share an example or guide me on how to implement this effectively?
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.