Hi,
I'm currently adding new issue types and workflow to an existing workflow scheme just to experiment a few things. I'm trying to restrict the creation of a specific issue type in this existing workflow scheme. Below is the scheme which I'm talking about:
I want to restrict creating "FT, NFT, VAPT" issue types. I don't want to remove these from the scheme as I would lose the old data.
I tried using jira properties from workflow by adding the following:
jira.permission.create=denied
jira.permission.create.issue=denied
But none of these works. Any way to restrict creating the said issue type.
The only way I believe you can restrict issue creation is on the workflow validator. It's simple to create a copy of the existing workflow and associate it in a new scheme just for the projects you need the restriction on.
I believe it's impossible to hide it altogether, but I guess you can create a validator on "create" transition which will eg allow only jira-administrators to create those issues (much easier if they have a separate workflow).
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
@Ilya Turov -Thanks for the input! The problem here is this particular workflow is associated with 34 different projects and setting this would reflect in others too. One workaround is to create a new workflow for this scheme but I want to keep this as last resort.
Any other advice?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @Ilya Turov , @Pete Singleton ,
In the case of Jira Cloud, the options in Validators are limited to permissions. Is there a workaround to restricting creation of issues in by Roles instead of (or in addition to) Permissions?
Thanks and regards,
Marianne Lee
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
the weird idea I have is to pick some unused permission (like "Set issue security" if you don't use it in this project), give this permission to those groups you want to allow to create issues you want to be allowed and set that permission on those issues workflows.
but that feels really strange, I'd recommend looking for plugins to extend default workflows functionality.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Show up and give back by attending an Atlassian Community Event: we’ll donate $10 for every event attendee in March!
Join an Atlassian Community Event!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.