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 depending on the selected issue type. Each issue type can only be created by a certain project role.
In this use case we assume that several issue types are using the same workflow.
If you have one workflow for each issue type, check out the corresponding use case.
Add the validator to the create transition of the desired workflow.
Enter the following expression:
Adapt the expression to your needs!
Above expression explained:
|Selected issue type for new issue||Explanation|
|Bug||Only if the current user is in role Developers or Software Testers, the issue can be created.|
|New Feauture||Only if the current user is in role Product Managers, the issue can be created.|
|Any other issue type||Can be created by any user independent of any project role.|
Enter the following expression in basic text mode: