Forums

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

Hide or collapse announcement banner

Gorakshnath Thorat
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
December 18, 2017

Hi,

Pls let me know if there is any way to hide or collapse announcement banner after reading it as it eats up lot of space in case of multi line banner. Appreciate help in this regard.

Thanks,

Gorak

2 answers

1 vote
Leirbag Assuab
Contributor
July 11, 2019

Hi @Gorakshnath Thorat and @somethingblue! I know is long time since this question was posted but maybe this info could be useful to someone with similar requirements:

https://community.atlassian.com/t5/Jira-discussions/Announcement-banner-depending-on-page-visited/td-p/910568

In this post some custom CSS is applied to the banner and then it's displayed as a pop-up at top-right corner of page. Users can also close it after reading the announcement.

Brian Craigie February 19, 2025

Could this link be made available?  When I try to visit the link, it tells me:

Nothing to see here...
You don't have sufficient privileges to view this page.

Leirbag Assuab
Contributor
February 19, 2025

I recall I wrote that post long time ago. Now it seems to be automatically archived, don't know why. I don't develop on Jira products since 2020, neither mantaining my AC account.

But I found the post at Wayback Machine: https://web.archive.org/web/20230201052858/https://community.atlassian.com/t5/Jira-discussions/Announcement-banner-depending-on-page-visited/td-p/910568

Hope it helps. But remember, it's an old post. Solution worked on an old jira version. Not sure it works on newer versions.

1 vote
somethingblue
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
December 28, 2017

Hi Gorakshnath,

I found a Community post where a user needed to hide the announcment banner and only show it to users that were not logged in.  The snippet of code they used to hide the banner was 

AJS.$('#announcement-banner').remove()

You can see if you can set this to hide after a certain amount of time so your users will only see it temporarily.

Cheers,

Branden

Suggest an answer

Log in or Sign up to answer