Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,301,029
Community Members
 
Community Events
165
Community Groups

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

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

Post a new question

0 votes
Answer accepted

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)

it doesn't look like Script runner has behaviours on cloud

The beta for Behaviours on Cloud was announced last week.

TAGS

Community Events

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

Find an event

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

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you