Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

How can I create announcement banner for one project?

Kate
Contributor
September 24, 2014

Hi,all!
I want to create announcement banner only for one project, not for all as a jira standard feature. I guess I can restrict banner's visibility by js, I try do it, but I'm not a pro. Help, please.

 

var projectLink = $('#project-name-val').attr('href');
var projectKey = '';
projectKey = projectLink.replace(/^\/browse\//, '');
if (projectKey != 'TASK'){
$('#announcement-banner').remove()}

1 answer

0 votes
Julia Wester [Wittified]
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
September 24, 2014

I'm commenting instead of answering because I'm not giving you an answer using native functionality, but you can use one of my company's plugins to do this: https://marketplace.atlassian.com/plugins/com.wittified.atl-announcer-jira (Announcer for JIRA) Good luck!

Suggest an answer

Log in or Sign up to answer
TAGS
Atlassian, Team '25 Europe, Atlassian conference, AI-powered teamwork, Atlassian events, keynote speakers, Barcelona tech conference, Atlassian Williams Racing, Carlos Sainz, Jenson Button, Mike Cannon-Brookes, Anu Bharadwaj, Atlassian Rovo

Atlassian Williams Racing is coming to Team '25 Europe 🏎️

Discover the teamwork and precision behind success on and off the track. See how this high-performing team makes the impossible possible. Be one of the first 100 customers to register for a chance to win 2 tickets to an Atlassian Williams 2026 race.

Register now
AUG Leaders

Atlassian Community Events