How to prevent create issue to a project role

Is it possible to disable to create an issue type to a project role?

Thank you.

2 answers

1 accepted

Get the Script Runner plugin from marketplace and add a validator that check the project role in the create issue transition.

https://studio.plugins.atlassian.com/wiki/display/GRV/Validators

I don't think it's possible to negate the permission (Project Role x does NOT have Create Issue permission), so I only see two options here:

1. Grant Create Issue to other roles except the one you want. However, this does not work if the user has two or more roles in the project (BTW, you did not mention a resolution for this case). Note that this will hide the Create Issue button.

2. Use a third-party plugin to add a validator to the Create Issue transition in your workflow(s). The validator should fail if the user has the specified project role. Note that this will not hide the Create Issue button, but instead will always show an error when the user submits the create issue form.

Suggest an answer

Log in or Sign up to answer
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Published Monday in Jira Software

How large do you think Jira Software can grow?

Hi Atlassian Community! My name is Shana, and I’m on the Jira Software team. One of the many reasons this Community exists is to connect you to others on similar product journeys or with comparabl...

711 views 6 13
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you