How can I create announcement banner for one project?

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

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
Community showcase
Published Jan 08, 2019 in Jira

How to Jira for designers

I’m a designer on the Jira team. For a long time, I’ve fielded questions from other designers about how they should be using Jira Software with their design team. I’ve also heard feedback from other ...

1,044 views 4 9
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