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 Join to answer
Community showcase
Sarah Schuster
Posted Jan 29, 2018 in Jira

What are common themes you've seen across successful & failed Jira Software implementations?

Hey everyone! My name is Sarah Schuster, and I'm a Customer Success Manager in Atlassian specializing in Jira Software Cloud. Over the next few weeks I will be posting discussion topics (8 total) to ...

3,310 views 14 20
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
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot