how to add html announcement banner via jira-application.properties or sql

hi folks

according to this KB Page

https://confluence.atlassian.com/pages/viewpage.action?pageId=54362277

i try to set the jira.alertheader via this property file..

how do i use this option? i didn't find any detailed explanations on how to insert multi line html code

i tried with just a simple "jira.alertheader= Test Info" but no announcement is shown.

or is it not possible to set that in jira-application.properties ?

i found out it can be set in the database directly

select pt.id, pt.propertyvalue from propertytext pt join propertyentry pe on pt.id=pe.id where pe.property_key='jira.alertheader';

and then

update propertytext set propertyvalue='' where id='<id from above>';

but i think the other solution is more comfortable isn't it?

background info:

i use a restore script to clone jira from production to standby...

on the standby host i need an announcement banner (public) to inform the user that he is not on the backup system.

thank you

8 answers

1 accepted

Using sql works

inserting into the database also not works for me

oh lord...just now i see the note that this is an old version of the page....

as there is no version for current jira relase it means it won't work?

really no idea?

Use jirahome/jira-config.properties

Flag is the same jira.alertheader

grep jira.alertheader /var/atlassian/application-data/jira/jira-config.properties
jira.alertheader=TEST
jira.alertheader.visibility=public

hi renjith.

it's not working. am i missing something?

Using sql works
Using sql works
Using sql works

Suggest an answer

Log in or Sign up to answer
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Julia Dillon
Posted Apr 17, 2018 in Jira

Tell us how your team runs on Jira!

Hey Atlassian Community! Today we are launching a bunch of customer stories about the amazing work teams, like Dropbox and Twilio, are doing with Jira. You can check out the stories here. The thi...

800 views 2 19
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