Announcement Banner - Atlassian removing ability to inject JavaScript?

Alex Christensen Community Champion Jul 14, 2017

I know that Atlassian has been removing the ability to inject JavaScript into JIRA. I believe the only place you can still do this is the Announcement Banner.

Are there any plans or a timeline on when the ability to inject JavaScript via the Announcement Banner will be removed from JIRA Server altogether? We currently use this functionality to hide some sharing options for filters and dashboards and don't really know of another way to hide those options from our end users.

I tried searching the JRASERVER project on jira.atlassian.com, but couldn't find anything there. Just wondering if anyone has any insight on this - thanks!

1 answer

1 accepted

0 votes
Accepted answer

Not aware of any plans to remove this in JIRA server but I am all ears :)

Having said that, you can always inject the javascript via a plugin using the web resource module. Recommended if you have quite a lot of scripts and you do not need those everywhere in JIRA!

Yes, that is the proper way to do it. The announcement banner is risky if youb forget to close a div element, may have to restart JIRA to edit the DB

Alex Christensen Community Champion Jul 14, 2017

Thanks, Jobin and Matt. Appreciate the feedback! :)

Suggest an answer

Log in or Sign up to answer
Community showcase
Published Nov 27, 2018 in Portfolio for Jira

Introducing a new planning experience in Portfolio for Jira (Server/DC)

In the past, Portfolio for Jira required a high degree of detail–foresight that was unrealistic for many businesses to   have–in   order to produce a reliable long-term roadmap. We're tur...

2,301 views 12 19
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