How to find the names and count the number of Calendars created (version Team Calendars for Confluence 4.2 or higher) in Confluence

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

Summary

Below are the queries that are needed to find the quantity and names of calendar created for Team Calendars for Confluence 4.2 or higher

Solution

  • To find the names of all the calendars in Confluence:

    1 select NAME from ao_950dc3_tc_subcals where PARENT_ID is NULL and SUBSCRIPTION_ID is NULL;
  • To count the number of calendars in the Confluence instance:

    1 select count(*) from ao_950dc3_tc_subcals where PARENT_ID is NULL and SUBSCRIPTION_ID is NULL;
Updated on April 2, 2025

Still need help?

The Atlassian Community is here for you.