Restricting issue type creation in workflow

Weronika Ociepka July 16, 2024

Hi All

There were several post on this but I have not found a fix right for me so far.

I have a project with 2 different workflows and different issue types associated to each. For one workflow and particular issues I want to restrict issue creation for Team Members only.

I am looking for the solution for this, can that be done on a workflow level or issue types? I was thinking on validators or behaviors with script runner but not sure how to set up it and where. Admin access and I am in cloud JIRA.

Help please :) 

4 answers

1 accepted

0 votes
Answer accepted
Maciej Dudziak _Forgappify_
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
July 16, 2024

Hi @Weronika Ociepka 

It is possible with apps providing Jira expression-based validators. I answered a similar question here: https://community.atlassian.com/t5/Jira-questions/Re-Re-How-to-restrict-user-group-to-create-certain-issu/qaq-p/2667835/comment-id/1008267#M1008267

I hope it will help.

Cheers

Weronika Ociepka July 17, 2024

Thanks, it is helpful

0 votes
Carla Norman
Contributor
October 4, 2024

Could we use a different workflow for the particular issue type and then restrict the create transition to Administrator?

 

0 votes
Nikola Perisic
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
July 16, 2024

Hello @Weronika Ociepka 

For something like this you would need the JWME application that needs to be applied to the validator of your workflow (Create transition). When you are adding the validation you need the Creator field to be select to be one of the groups where your team members are.

For example:

Screenshot 2024-07-16 at 13.58.07.png

For error message, you can write anything you want.

Weronika Ociepka July 17, 2024

Thank Nikola I can try with this but was also thinking about using script runner without creating new fields.

Like John Funk likes this
0 votes
Marc - Devoteam
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
July 16, 2024

Hi @Weronika Ociepka 

This can't be done.

Permissions can only be doen via the permission scheme. Any issue type used in a project can be used by any user, if granted the create permission.

Suggest an answer

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

Atlassian Community Events