It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Permission on Issue Type

SBT IT I'm New Here Oct 31, 2019

Hi,

I want to restrict some users/group to create Issues with certain issue's type.

For example, a Team member can create an issue of type "Bug" only.

Is that possible?

2 answers

2 votes
DPK J Community Leader Oct 31, 2019

@SBT ITwelcome to the community.

I am afraid issue type create permission setting is not possible in Jira.

As a work around I recommend using ScriptRunner's (an external plugin) Behavioral module.

Take a look at this for reference - https://community.atlassian.com/t5/Jira-Software-questions/Restricting-issue-creation-of-certain-issue-types-based-on-user/qaq-p/821331

You can find more examples similar to the one I have given above if you search this community.

0 votes
Stephen Wright Community Leader Nov 01, 2019

Hi @SBT IT

There is one way I know of doing this on Cloud without an add-on - but it is a workaround. You can change the create validator on each issue type's workflow to a different permission that a limited group have access to. 

To accomplish this - you'll need:

  • A separate workflow for each group of issue types you want to restrict. So if there was a different group of users for every issue type, each would need a unique workflow.
  • Group(s) of users to be part of the special "create" group - you can manage groups in User Management
  • A unique permission that each group has access to

So, for example, in our instance "Delete All Comments" is a Project Admin-only permission. If I wanted to restrict it so only Project Admins could create Epics I could:

  1. Add a new workflow for an Epic and enter edit mode
  2. Click on the Create transition and select Validators
  3. Remove the default create validator "Only users with Create Issues permission can execute this transition" by pressing the "x" when hovering over this row
  4. Press Add Validator and choose Permissions Validator and press Add
  5. Select the permission unique to my Project Admins - "Delete All Comments" and press Add
  6. Publish the Workflow (inc. adding it to the workflow schemes, etc)

^ Any user will still be able to select Epic in the create screen, but with the above published they'll receive an error when trying to publish their creation. The error isn't very clear as it will simply say the user doesn't have the "Delete All Comments" permission (in the above example) - but it does achieve what you need without an add-on.

Ste

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted in Jira

Demo Den Ep. 7: New Jira Cloud Reports

Learn how to use two new reports for next-gen projects in Jira Cloud:  Cumulative flow diagram and Sprint burndown chart. Ivan Teong, Product Manager, Jira Software, demos the Cumulative ...

342 views 1 3
Join discussion

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