On this page
Use case
In Jira it is not possible to restrict the creation of issues with specific issue types to certain user/ user groups/ project roles.
In the following use case, we restrict the issue creation to the project roles Developers and Software Tester.
In this use case we assume that there is a separate workflow for each issue type in the project.
If you only have one workflow that is used by several issue types, check out the corresponding use case.
Configuration
Add the validator to the create transition of the desired workflow.
Source field
Choose Current issue
Mode
Choose All users are at least in one of the selected project roles
Project role
Choose Developers and Software Testers
Update the selection according to your needs.
Error message
Enter the following expression in basic text mode:
You are not allowed to create an issue with issue type "%{issue.issueType}".
Screenshots
Related use cases
Use case JWT feature Workflow function Parser functions Label Only users in a project role can execute a transition Restrict the issue creation with specific issue types to certain project roles
If you still have questions, feel free to refer to our support team.