Has the Announcement Banner changed in JIRA?


I use JIRA v7.2.6, and I added a simple JavaScript statement (for getting some console messages) in the annoucement banner as follows:

console.log("Hello Community")



First, I got an error message saying that the operation wasn't successfull.

And the whole thing went bezerrk. None of the pages in JIRA would load. 
I had to remove the banner by going in the database.

Has the functionality in banners changed in any way? 

1 answer

1 accepted

0 votes
Accepted answer

Hi Muhammad,

I copied and pasted the js into an announcement banner and didn't run into any issues in JIRA 7.2.6 or my Cloud instance.  Hopefully you've found a workaround or it started working as expected but if not, I would reproduce the issue and take a look at the atlassian-jira.log.  As a test I tried the following and it popped up a window that said hello world with an OK button:

    alert( 'Hello, world!' );

If you're still experiencing this issue I would recommend putting in a Support Request to the JIRA team so they can take a look at your instance further as there may be additional customizations that could be causing this behavior.



Hi, same happend to me when using Chrome Browser for editing the announcement banner. Using Firefox with same script worked for me.



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,949 views 19 22
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