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!
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.