Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,298,401
Community Members
 
Community Events
165
Community Groups

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?

3 answers

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

 

3 years late, but still applicable.  Thank you Chander!  Put my html to good use here

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

https://html-online.com/ is a good tool for editing html if you don't know html...

Like Keith Shaw likes this

Does this not work in JIRA Cloud?

 

For me the text just displays the actual HTML code.

@eford same experience, just displaying as html code

Same here.  I just see the HTML code on my banner.

0 votes
Sagar Mahajan Community Leader Apr 28, 2021

This can help if you want to insert other document link in banner

<div style="font-weight: bold; text-align:center; color:green;">Yay! your jira is upgraded to 8.13.1, what's new? 
<a style="color:blue;"href="https://confluence.atlassian.com/jiracore/jira-8-13-long-term-support-release-change-log-1018788437.html">know more</a></div>

Dear Experts,

When adding "Style=" to apply background color, Jira is giving 403 forbidden error. Below is the HTML code I am using. Any suggestions?  

<!-- --> <div id="cat-announce-1">
<div Style="background-color:#D8F8FD ;border: 1px solid #17A2B8; margin: 2px; padding: 8px; text-align: left; font-size: 14px;">
</div>
</div>

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Jira Software

Upcoming changes to epic fields in company-managed projects

👋 Hi there Jira Community! A few months ago we shared with you plans around renaming epics in your company-managed projects. As part of these changes, we highlighted upcoming changes to epics on...

14,859 views 37 49
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you