Limit Issue types based on project role while create new issue

Many users ask me to limit possible list of issue types based on the according project role while creating new issue. As example a developer should only create tasks and no user stories.

In the past the behaviours plugin by Jamie Echlin should have handled that, but this plugin wasn t supporting later JIRA versions. From Script Runner 3.0 the features of behaviours are told to be added to Script Runner, but cannot find the in the according docu.

We have installed Script Runner 3.0.4 (very helpful plugin!) on JIRA 6.3.3 including JIRA Agile, so how can i get this restriction working?

Thanks a lot!

1 answer

As a workaround you can use script validator https://jamieechlin.atlassian.net/wiki/display/GRV/Validators that will not allow to create issues with certain issue types. The issue types themself will be listed for everyone, but error message will be shown to user who will try to set issue type he hasn't permission to deal with.

I use this technique myself. But to avoid the user filling in the form before they get rejected, I use a behaviour to display an error under the summary or issue type or something, warning that they must change the issue type to "Support Request". (As well as the validator).

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...

596 views 6 12
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