How can I create announcement banner for one project?

Kate 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