Has the Announcement Banner changed in JIRA?

Tayyab Bashir Community Champion May 21, 2017

Hi,

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

console.log("Hello Community")

</script>

{code}

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 vote

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:

  <script>
    alert( 'Hello, world!' );
  </script>

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.

Cheers,

Branden

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

Cheers,

Martin

Suggest an answer

Log in or Sign up to answer
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Published Sunday in Agility

You asked for it, so we delivered: images on issues have arrived

A picture tells a thousand words. And agility boards have just released their latest feature: cover images on issues – so now your board can tell a story at first glance. Upload attachmen...

184 views 1 11
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