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 vote

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
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
Julia Dillon
Posted Tuesday in Jira

Tell us how your team runs on Jira!

Hey Atlassian Community! Today we are launching a bunch of customer stories about the amazing work teams, like Dropbox and Twilio, are doing with Jira. You can check out the stories here. The thi...

556 views 1 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