i would like to add a banner above the jira menu bar. how can i do this.
i would like the same as the attached image in jira
Hi mat,
Please refer to the following document to learn how to add a banner message
EDIT:
If you want to display the message at the top of your page, just put JS code at the bottom of the announcement to do the trick:
<script>
AJS.toInit(function(){
var $banner = AJS.$('#announcement-banner');
var $header = AJS.$('#header');
$header.before($banner);
});
</script>
Does it work for you?
Regards
I've edited my previous response to show you how to move the banner content to the before the header.
I hope this help.
Regards
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Jack Nolddor _Sweet Bananas_,
Same question as Mat requested above. I need put the BANNER above Jira menu bar. Can you please help as ASAP.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Jack/Matt,
Can you please help on this. With the above Script not worked for me.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
This example works for me, my actual announcement bannner content:
<span>This is a custom message displayed on the top of any page.</span>
<script>
AJS.toInit(function(){
var $banner = AJS.$('#announcement-banner');
var $header = AJS.$('#header');
$header.before($banner);
});
</script>
Kind Regards .
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
HI Jack Nolddor _Sweet Bananas_,
It worked for me too and attached snippet for your reference. However, how do i set the background colour for this please ?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I tried to create the banner, but I needed a jira amin access, and this is not allowd to be giving to us in th company i work for, damn it
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.