How to disable single JIRA shortcut ?

I want to disable "i" shortcut (not interested in disable all of them). Can someone help me and tell how to do it ?

2 answers

AFAIK, there is no way to disable/enable single shortcut through JIRA UI.

You can do it by creating custom addon with Keyboard Shortcut Plugin Module but this looks like too much effort.

I made my own plugin but it did not override shortcut or disable it :/ just add another action

Check the paragraph "Overriding Existing Keyboard Shortcuts". Important item:

ensure that an order element is added, whose value is greater than that defined in the keyboard shortcut being overridden.

I should be more specific, because there is another problem laugh 
When I add plugin with shortcut "i" action, I can override it only in overlap "Issues". My plugin is not working in "Backlog" or "Active sprints". 

Did you try any other shortcut on "Backlog" or "Active sprints" screens without overriding? I suspect that Keyboard Shortcut Plugin Module is not supported there.

You can always add JavaScript handlers (quick googling give me this) and push your JS resource module to atl.general context.

Yes, you are right. Keyboard Shortcut Plugin Module is not supported there. When I add JS, "Assign to me" is still working. I can not override it there and I don't know how to block it. 
I made new shortcut (work everywhere issues, backlog etc.) but I'm stuck with blocking default "i" shortcut. 

 

I can not override it there and I don't know how to block it. 

You can try to do it via pure JS by catching the appropriate key stroke and making sure it's not passed future (I guess that "return false" form the event handler should do the work). This will work if your JS is loaded before JIRA JS that declares 'i' handler. So you have to try it.

@Volodymyr Krupach thx for help wink
This work perfect:

AJS.$(document).keypress(function(event) {
			if (event.keyCode == '105' ){
			//	console.log('hakunamatata + karamba');
			 event.stopImmediatePropagation();
			}
		});

We have this same exact issue and need to disable the "i" function in our instance. Where exactly would you have to put this code? I tried putting it in the annoncement banner with no success.

Suggest an answer

Log in or Sign up to answer
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Published Thursday in Marketplace Apps

Tips on how to choose the best estimation method for your planning

Planning and grooming sessions all come with their own sets of rules. Team members meet to estimate stories or other work items, all according to an agreed-upon process. And with every session comes ...

71 views 0 11
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