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

This widget could not be displayed.
Using sql works
This widget could not be displayed.

inserting into the database also not works for me

This widget could not be displayed.

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?

This widget could not be displayed.

really no idea?

This widget could not be displayed.

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?

This widget could not be displayed.
Using sql works
This widget could not be displayed.
Using sql works
This widget could not be displayed.
Using sql works

Suggest an answer

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

What modern development practices are at the heart of how your team delivers software?

Hey Community mates! Claire here from the Software Product Marketing team. We all know software development changes rapidly, and it's often tough to keep up. But from our research, we've found the h...

223 views 1 3
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