Disable the creation of an new issue for a specific type


We want to disable the possibility of creating issues by a specific type in some of our JIRA projects.

There are already issues with this type in the projects and they should remain.

But we don't want new ones with this type.


What are the ways to implement that?



1 answer

0 votes

No, but there are some (hacky) workarounds.

JIRA doesn't do this at all, it assumes that if you have an issue type in a project, you want to be able to create issues of that type.  Not a bad assumption, but there are cases where you'd like to deprecate an issue type, and there's an old, old, old request to be able to do it, which Atlassian closed with "not going to fix".  There's also a number of cases for "only allow certain types of people to create certain types of issue", but the stock answer to that is "you should be using separate projects for them".  Personally, I'd like to see support for issue-type by group, but I don't think it's going to happen soon.

So, the workarounds:

  • A lot of people try to do it with javascript on the create screens.  Rarely works, and there's now so many ways to create an issue, it's pretty much guaranteed to fail
  • The "trick" I've used in the past is to create separate workflows and screens for the different issue types and put something in there to block creation.  The easy trick is to put a mandatory field on an issue type, without it being on-screen, or use the validators to stop the creation.  The problem with that is the users can still get in to the creation process, it blocks them when they commit, not up-front (so I usually use the message fields to put a big warning on screen)
  • The behaviors/script-runner plugin can help you with a lot of this, although I've not tried to do it recently.  I'd start there...

Suggest an answer

Log in or Sign up to answer
Community showcase
Published Jan 08, 2019 in Jira

How to Jira for designers

I’m a designer on the Jira team. For a long time, I’ve fielded questions from other designers about how they should be using Jira Software with their design team. I’ve also heard feedback from other ...

1,088 views 4 9
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you