Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Celebration

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,553,229
Community Members
 
Community Events
184
Community Groups

Email notifications still going out even when WATCHERs removed

Little bit of a problem here as I am trying to update 100s of pages via the  Confluence Cloud REST API.

This was never a problem before, until I added in deleting and / or adding attachments to pages.

https://developer.atlassian.com/cloud/confluence/rest/api-group-content---attachments/#api-api-content-id-child-attachment-put 

Now that we do batch updates that include attachments, all of our "SPACE" watchers as well as our individual "Page" watchers get an email that something has been updated.

 

I thought I have found the solution by removing watchers (for both SPACE and PAGE), making the edits, and then adding them back in.

https://community.atlassian.com/t5/Confluence-questions/Prevent-notifications-when-using-REST-API/qaq-p/948058 

 

However, even removing both sets of watchers (again via the API):

Remove content watcher 

Remove space watch 

...  users are STILL getting an email notification :(

 

I tried playing with the timing, thinking that Atlassian may have a update window, where "watcher" flags only get updated every " X " about of minutes, but that did not help either.

 

I tried removing watchers, and waiting 1, 3, 5, even 10 minutes before making edits, but notifications still came through.

For example:

  • 20:01   >   Disabled Watchers 
  • 20:06   >   Edit pages 
  • 20:11   >   Re-enabled watchers 
  • 20:25   >   Received email in user imbox 

 

 

1 answer

0 votes
Brant Schroeder
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
May 06, 2021

@Chris P_ 

You are only able to disable watchers at the page level.  Any space watchers would still remain, hence the notifications still going out.  The only other thing I can think to do would be to try what was suggested here: https://jira.atlassian.com/browse/CONFSERVER-38804 by adjusting the payload to be a minor edit.  The only issue is that if deleting or adding an attachment fires off something else that would kick off the notification.

Hello Brant, thanks for reply.

 

Remove Space watchers 

I tried this API call, and verified that it works quite well.

I can run this as stand-alone, and all space watchers get removed.

 

However, once page edits are complete, and even after a 600 second timeout for example, once Space watchers re-enabled (Add Space Watchers ),  an email is still received by Watchers (in some cases 10+ minutes after the fact) 

Brant Schroeder
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
May 06, 2021

@Chris P_ If you do it for just a single page, remove watchers and then make the change and then wait 15 mins before putting the watchers back on do they still get the notification?

I haven't waited as long as 15 minutes in past, but let me try that in about an hour and I'll report back.

Thanks

Brant Schroeder
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
May 06, 2021

@Chris P_ At this point I am just throwing out some ideas.  I am wondering if the batch processing of removing and adding takes place quickly while the actual page update gets queued and then emails still end up going out.  In the past, if you did 20 updates did all the updates generate an email?

Thanks Brank > yes that is a good point.

If there were 20 updates = yes = it generates 20 emails.

 

Scenario 1)  

1 edit to to page content = 1 email

Scenario 2)

2 attachments deleted from page + 3 attachments added to page = 5 emails

Brant Schroeder
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
May 06, 2021

Chris,

  If you just have one page, maybe a test page, where you take the watchers off perform one update, and then leave the watchers off are they still getting an email?

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events