Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Restricting creation of certain issue type based on project role

Mahalakshmi Prasad August 25, 2020

Hi,

Is it possible to restrict only "Bugs" issue type to certain project roles? whether this can be achieved without script runner option?

We want to UAT testers to have access to only Bugs creation.

 

Appreciate guidance.

Thanks

Maha

 

1 answer

2 votes
Ste Wright
Community Champion
August 25, 2020

Hi @Mahalakshmi Prasad 

Not natively, there are no issue type permissions per project.

There is a "workaround" but it has a few dependencies. For your example you'd need:

  • A separate workflow for Bugs
  • A permission unique to the Project Role required

---------------

You're going to place a validator into the Bug's workflow that a specific permission is required.

As a Site Admin:

  1. Go to Jira Settings > Issues > Workflows
  2. Go to the workflow used for Bugs and press "Edit". If you don't have one specific to Bugs now, locate the workflow which is used and press "Copy" on the right-hand side of the row
  3. Select the Create transition (arrow from grey circle to first status) and select "Validators" from the pop-up
  4. Press "Add Validator", and choose "Permission Validator"
  5. Select the permission unique to that Project Role, and press Add
  6. Publish the Workflow
  7. If this is a new Bug Workflow, make sure you go to the Workflow Scheme and associate Bugs with the newly created flow!

If you need to modify your permission scheme also to ensure a unique permission:

  1. Go to Jira Settings > Issues > Permission Schemes
  2. Open the permission scheme for your project
  3. Either locate a permission only this Project Role has - or give them a permission no-one has. I'd avoid giving them a permission which could detriment your instance (eg. Delete Issues) - we sometimes use "Set Issue Security" if you have no security levels set!
  4. Remember that this modifies the role's permission for all projects the scheme is used on.

---------------

This isn't an ideal workaround - but does work if these restrictions are needed!

Ste

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
STANDARD
PERMISSIONS LEVEL
Product Admin
TAGS
AUG Leaders

Atlassian Community Events