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

This widget could not be displayed.

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.

This widget could not be displayed.

@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
Community showcase
Posted Tuesday in Jira

What modern development practices are at the heart of how your team delivers software?

Hey Community mates! Claire here from the Software Product Marketing team. We all know software development changes rapidly, and it's often tough to keep up. But from our research, we've found the h...

197 views 1 3
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