disable issue type creation temporarily


I have number of issue types (epic, story new feature etc.) I want temporarily disable people creating issue type 'New Feature' for a few days.

I tried to remove issue type from my scheme but that meant i would have to migrate current new features to another issue type, which is not an option.

Any ideas how can this be done?

2 answers

1 accepted

you can hide issuetype with Javascript , try something like this by adding in footer.jsp or load it as webresource in any plugin

<script type="text/javascript">  
jQuery(document).ready(function($) {
JIRA.bind(JIRA.Events.NEW_CONTENT_ADDED, function (e,context) {
function hideIssueType(){
function hide(){
		$("#issuetype option").each(function()	{				
				if($.trim($(this).text()) == 'Defect'){				



Hi Prasad,

I have added this in my web resource, but the script is working only up to the alert,Control is going in side each function. Is there any change in JIRA 7.


function hide(){
alert('In hide');
        $("#issuetype option").each(function()    { 
                 alert('In issue options');             
                if($.trim($(this).text()) == 'Defect'){            
Thanks for the help.

Hello @Suresh16 and @Rambanam Prasad

Were you able to resolve this with webresource. I stuck with the same problem the script works upto alert. I am on jira 7.2.3 Can you please guide me.


@Deepali Bagul if you are getting alert that means webresource module is working fine.

project and issue type field implementation got changed on latest jira versions so you need to understand these fields implementation first.


@Rambanam Prasad

Thankyou for pointing me to right direction field implementation.  

Below is the javascript that worked for me on jira 7.2.3 with webresource.


<script> jQuery(document).ready(function() {   var removeIssueType = function() {     jQuery(".aui-list-item-link").filter(function(){ return jQuery(this).text() === "Role Mapper" }).parent().hide();   }   var findIssueType = function() {     jQuery("span.drop-menu").click(removeIssueType);     jQuery("#issuetype-field").keyup(removeIssueType);     jQuery("#issuetype-field").click(function() {       setTimeout(removeIssueType, 1);     });     jQuery("#project").change(function() {       setTimeout(findIssueType, 1000);     });   }   //if (AJS.params.loggedInUser !== "") {     JIRA.bind(JIRA.Events.NEW_CONTENT_ADDED, function(e,context) {       findIssueType();     });     setTimeout(findIssueType, 500);   //} }); </script>


I don't have option to edit @Deepali Bagul comment so am adding as answer with proper format so it will help others 


jQuery(document).ready(function($) {
var removeIssueType = function() {
$(".aui-list-item-link").filter(function(){return $(this).text() === "Role Mapper" }).parent().hide();

var findIssueType = function() {
$("#issuetype-field").click(function() {
setTimeout(removeIssueType, 1);

$("#project").change(function() {
setTimeout(findIssueType, 1000);

JIRA.bind(JIRA.Events.NEW_CONTENT_ADDED, function(e,context) {
setTimeout(findIssueType, 500);


Suggest an answer

Log in or Join to answer
Community showcase
Sarah Schuster
Posted Jan 29, 2018 in Jira

What are common themes you've seen across successful & failed Jira Software implementations?

Hey everyone! My name is Sarah Schuster, and I'm a Customer Success Manager in Atlassian specializing in Jira Software Cloud. Over the next few weeks I will be posting discussion topics (8 total) to ...

3,247 views 14 20
Join discussion

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
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot