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

0 votes
Accepted answer
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
Community showcase
Published Nov 27, 2018 in Portfolio for Jira

Introducing a new planning experience in Portfolio for Jira (Server/DC)

In the past, Portfolio for Jira required a high degree of detail–foresight that was unrealistic for many businesses to   have–in   order to produce a reliable long-term roadmap. We're tur...

2,911 views 19 22
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