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()}
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!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.