How to get a list of users that has "Subscribe to all blog posts" option checked
Platform Notice: Data Center Only - This article only applies to Atlassian products on the Data Center platform.
Note that this KB was created for the Data Center version of the product. Data Center KBs for non-Data-Center-specific features may also work for Server versions of the product, however they have not been tested. Support for Server* products ended on February 15th 2024. If you are running a Server product, you can visit the Atlassian Server end of support announcement to review your migration options.
*Except Fisheye and Crucible
Purpose
In Confluence, users are able to set preference to Subscribe to all blog posts in their Notification Settings: Email Notifications
This documentation provides SQL query to get a list of all users in Confluence that has this option marked
Solution
1
2
3
SELECT user_mapping.username FROM notifications
JOIN user_mapping ON user_mapping.user_key = notifications.username
WHERE contentid IS NULL AND spaceid IS NULL AND contenttype = 'blogpost';
Was this helpful?