Set all users as watchers for specific space

Hi there

All users must be set as watchers for specific corporate spaces. Is there a easy way. We know a workaround, but there is a little problem: Set an fictitious user with a group-mail-account (mailing list). Each time somebody changes something in that space, everybody get informed through the mailing list. Now, the problem is: People could add themselves as a watcher, too. As a result, they get notifications twice. Can we prevent users to watch specific spaces or is there any other solution?

Thanks for helping us,
Yanick 

4 answers

1 accepted

This widget could not be displayed.

HI,

What you could do in that case is hide the watch button since you are already assigning everyone to watch it through that mail group. This could be done through CSS or Jquery for specific spaces.

This widget could not be displayed.

Hi Alex

Thanks a lot. I already thought about that, but how to hide the watch button of that specific space. I do not get an identifier (unique class or id) in css. Any idea?

Thanks again,

Yanick

I am on confluence 5.9 and can hide it with jquery using $("#watch-content-button").hide(); 

To use css just do #watch-content-button{display:none}

 

This widget could not be displayed.

Hi Alex

Thanks you so much. Do you know how to hide the button in that specific space? When I hide the button in the Custom HTML I am going to hide it in every space. That is not the goal.

Thank you very much.

HI,

Add that CSS to the style sheet within the specific space if you want it to only apply to a  one space. If you go to the admin section of the space, you will see a stylesheet panel under look and feel

 

This widget could not be displayed.
Davin Studer Community Champion Jul 13, 2016

To hide the button in just defined spaces you could add something like this to the Custom HTML in Confluence Admin.

<script type="text/javascript">
AJS.toInit(function(){
	var keys = ["DEV","BLAH","STUFF"]; //Add space keys to hide the watch button here
	if(keys.indexOf(AJS.params.spaceKey) !== -1) {
		AJS.$('#watch-content-button').css('display','none');
	}
});
</script>

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted Monday in Confluence

Why start from scratch? Introducing four new templates for Confluence Cloud

Hi my Community friends!  For those who don't know me, I'm a product marketer on the Confluence Cloud team - nice to meet you! For those of you who do, you know that I've been all up in your Co...

479 views 6 6
Join discussion

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you