Is there a way to hide JIRA add-on options from the header by User Role or Group?

I've been asked to hide the "Boards" and "Tests" add-on options from the JIRA header for any user that isn't part of certain groups/roles. I know through reading the forums that it is possible to fully hide the options by editing the add-on XML, but is there a way to make it hide-able by user levels? Any suggestions would be greatly appreciated. 

2 answers

This can be done on JIRA server by using the announcement banner, as it allows you to add custom html and javascript to all JIRA pages.

You will need to write a custom code to do so check out these examples before getting started:

Example 1

Example 2

Example 3

Example 4

Example 5



Thanks for your input and all those examples, @Noam. We are unfortunately on JIRA Cloud. I know there are plug-ins like "Run CLI" that are supposed to allow some code customization, but when I've tried to install them I get blocked by the service. It states that I must have OnDemand in order to run the plug-in, but Cloud is the new OnDemand so not sure what the problem is. I've not had time to debug it at this time, but with input like this it adds more fuel to my fire to be able to get in there and write my own stuff. I'll have to pressure my supervisor to give me the bandwidth or some extra hands to help me get that done. Thanks again.


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 ...

2,916 views 12 18
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