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

Accepted Answer
0 votes

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
Community showcase
Posted Tuesday in Jira

Looking for anyone who made the switch to Data Center

The Jira Marketing team is putting together an ebook on migrating to Data Center. We're looking for pro tips on how you staffed your project team and organized your Proof of Concept. Share yo...

29 views 0 2
Join discussion

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