announcement banner customization

hi all,

 

we use JIRA 6.4 and the announcement banner looks bland..it doesnt let me highlight text or user bold or use colors. i want the banner text to show in the middle of the page and not to the left hand side.

is there a way i can customize this?

2 answers

1 accepted

2 votes
Accepted answer

Hey Shilpini,

Use HTML/Javascript in Announcement Banner accordingly.

Make sure you end the tags, else it might resolve into a big issue of JIRA not displaying any info. 

Test this on staging or test instance before doing it on Prod.

Example:

<!-- Message Banner -->
<div style="background-color: linen; border: 3px solid darkred; margin: 4px; padding: 2px; font-weight: bold; text-align: center;">
Maintenance Notification: This Jira environment will be offline today Wed Jan 21 from 12:15 to 12:30 EST for a memory upgrade.
</div>

Reference

 

Thanks

Chander

 

2 votes

Hi Shilpini,

If you are able to edit the announcment banner you should be able to use normal html markup to add color, bold text etc. As an example here is an example from my instance:

 Screen Shot 2017-05-30 at 3.18.07 PM.png

Here is the code I used as an example:


<div style="background-color: linen; border: 3px solid darkred; margin: 4px; padding: 2px; text-align: center;">
<b>Maintenance Notification:</b> This Jira environment will be <font color="red"><b>offline today May 30th from 4:00 PM to 5:00 PM CST </font></b>for a memory upgrade.
</div>

If you have your html and tags correct:

  1. Try another browser
  2. Verify everything is loading correctly using the development panel in your browser

If neither of those suggestions help, I would try spinning up a test instance of 6.4.x and try setting an announcement banner to see if you get the same result. If not, you'll need to start looking at the environment. There aren't many plug-ins I've run into that would cause this behavior but if you cannot replicate this in a clean environment try JIRA in Safe Mode and see if your html/css works as expected.

Cheers,

Branden

Hello!

Where can I editingt this html? Where can I write this perfect example?

Thanks for the help!

Armin

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted Tuesday in Statuspage

Introducing Statuspage Getting Started guides! First up: What is Statuspage?

Over the next several weeks we'll be sharing some of our Getting Started guides here in the community. Throughout this series of posts, we'd love to hear from customers and non-customers ab...

169 views 4 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