It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Hide submenu in menu Issues

Hi,

I'm trying to hide the 'Create Issue' submenu from the main menu 'Issues' (our users have custom webitems to create pre-configured issues, and I need to hide the standard menus).

I tried to call "AJS.$('.create-issue').hide();" but later I noticed that the menu is generated dynamically, in result of the rest call "/jira/rest/api/1.0/menus/find_link?inAdminMode=false&_=1378287576103".

Are there any events in Jira that I could catch and hide that menu? I already tried with JIRA.bind(JIRA.Events.NEW_CONTENT_ADDED, function(){})" but that doesn't seem to work...

1 answer

1 accepted

0 votes
Answer accepted

Ok sorry... this is trivial using css... wondering what I was thinking to try doing it with js...

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Teamwork

Listening out loud: how Dave Liao works on distributed teams

The start of the COVID-19 pandemic served as a forcing function to re-evaluate the way teams worked together. In fact, many companies are re-learning how to collaborate with their teams. As some move...

122 views 4 7
Read article

Community Events

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

Find an event

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

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you