Only a particular group can create an issue

Hi i'd like to know how to customize the workflow in order to restrict the creation of one type of issue to a particular group.

for example: the task in my project "X"  only can be created by the developers group

the rest of issues can be created by anyone

 

thanks in advance

1 answer

1 accepted

0 vote

You can't do this cleanly.  If a user has "create issue" permission, they can create any issue type in your project.

If you were on Server, there are a couple of add-ons or hacks that can sort of prevent it (but they are easy to bypass).

On both server and cloud, it should be possible to set up a workflow such that the create process will fail a validator based on the groups the user is in, but this is very ugly for the user because they still get to select the "wrong" issue type, and can lose all the data they enter into it.

thanks a lot for your quick answer. then it is not possible? how can a develop the "ugly" solution?

but. for example if i want that the group "PruebasMarta" can modify an issue in an status (for example in progress), in this status i add a new property: 

jira.permission.edit.group= PruebasMarta , 
but i don't know which is the command to avoid or allowed the creation because if I try
jira.permission.create.group.1= PruebasMarta it doesn't work

Workflow properties are a nice idea, but they don't work for create, because you need the property to exist before you create the issue.  Which you can't do, because there's no issue with a status to put it on yet.

I'm not sure how I'd create a "failed" validator on Cloud, I think you need one of the standard ones from a free add-on.

thanks a lot for your help

 

and the las question: do you know which add-on can help me with this "problem" in JIRA Server???

Script-runner has Behaviours which can help with the front-end (removing the option from the selection) and on the backend (check if user is in a group in a 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
Posted Wednesday in Jira

Join our webinar: How 1B+ feature flag events helped us build the new Jira

Every time you release software, there's a bit of risk – that there's a bug, that something breaks, or that the feature doesn't resonate with customers. Feature flagging helps make high stakes s...

116 views 0 3
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