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 Sign up to answer
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Posted 9 hours ago in Jira

We want to know what Jira Service Desk apps you're using!

Hi Community! My name is Amir and I’m on the Jira Service Desk product marketing team at Atlassian. Our team would love to understand how you’re leveraging our ecosystem for Jira Service Desk. Wha...

32 views 0 5
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