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

This widget could not be displayed.

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
Posted yesterday in Jira

What modern development practices are at the heart of how your team delivers software?

Hey Community mates! Claire here from the Software Product Marketing team. We all know software development changes rapidly, and it's often tough to keep up. But from our research, we've found the h...

31 views 0 1
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