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
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...

522 views 3 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