Forums

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

How to set up a announcement banner for specific project

Anil
Contributor
February 13, 2023

I want to set up a announcement banner for a specific project.Only the users in that project can see the announcement banner

1 answer

1 vote
Mikael Sandberg
Community Champion
February 13, 2023

Hi @Anil,

Welcome to Atlassian Community!

Have a look at this question, you can add the following to the announcement banner and it would be project specific:

<p style="display: none;" id="demo">Sample Announcement</p>
<script>
if (window.location.href.indexOf("projects/SP") != -1) {
document.getElementById("demo").style = "display: block;";
}
</script> 
Gabriella
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!
February 28, 2024

How would you list more than 1 project? here:

("projects/SP")

 I have done , ; : | \ and a space.

Like Marleen Obdam likes this

Suggest an answer

Log in or Sign up to answer