Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

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

How to set permission on issues creation by issue type

I need to restrict Issues Creation, based on it Issue Type. For example, a Team member can create an issue of type "Technical Task" but cannot create a "Story". In that way, the role of the user in a project would determine the permission level to create an issue.

Is that possible?

7 answers

1 accepted

1 vote
Answer accepted

No it's not. This forum is filled with questions about the same, just do a search.


I solved this issue using Script runner's behavior, used below code in initializer and it showed Issuetypes based on logged in user, you can validate user against project roles or even groups

import com.atlassian.jira.component.ComponentAccessor

import static com.atlassian.jira.issue.IssueFieldConstants.ISSUE_TYPE

def projectRoleManager = ComponentAccessor.getComponent(ProjectRoleManager)
def allIssueTypes = ComponentAccessor.constantsManager.allIssueTypeObjects

def user = ComponentAccessor.jiraAuthenticationContext.loggedInUser
def issueTypeField = getFieldById(ISSUE_TYPE)
def availableIssueTypes = []

//use this def and if code to check project roles
/*def remoteUsersRoles = projectRoleManager.getProjectRoles(user, issueContext.projectObject)*.name

if ("Testers" in remoteUsersRoles)
availableIssueTypes.addAll(allIssueTypes.findAll { in ["Task", "Experiment"] })

//use this def and if code to check groups
def remoteUsersRoles = ComponentAccessor.getGroupManager().isUserInGroup(user, "jira-administrators")
if (remoteUsersRoles) {
availableIssueTypes.addAll(allIssueTypes.findAll { in ["Task", "Experiment"] })

else {
availableIssueTypes.addAll(allIssueTypes.findAll { in ["Task"] })


Hope this helps.



Hi @Priyanka Lavania

With this we can stop User groups from creating the issues, But users can move issues to issue type.

Is there a way to stop moving issues to particular type. Thanks in Advance. 

This does not work for the jira cloud, because the appropriate API is missing. Any solution for Cloud version?

@Jaromir Toke did you find a cloud solution?


Maybe you can set this using Issue Level security:




Lucas Lima

Maybe not so nice, but there is a way

1. Make unique Workflow for each Type

2. In each workflow set in validator on Creation transition a specific Permission (like Set Issue Security, Delete All Comments, Edit All Comments, Delete All Attachments or Time Tracking Permissions which we are not using)

3. Create permission schema where assign this specific Permission to proper Group of users

at the end Group has right to create issues of specific Type

Is there any solution available for Cloud customers?

I just played around with the workflow and found out that a scripted validation (coming with the script runner plugin) on the create transition works pretty good as well.

This covers the 'Create' Transition, which is one case. Does Jira have any validator capability on the 'Edit' operation? Thanks, Mike

What exactly do you want to achieve? Maybe the Behaviour-Plugin which is now integrated in the Script Runner would help:

Suggest an answer

Log in or Sign up to answer

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