How can I view All team calendars within an instance without knowing their names?

As we have been learning about Confluence, we have created (and thought deleted) a number of team calendars. However, it appears that we did not actually delete them as they occasionally show up. We want to do some house cleaning. Where can I find all team calendars associated with an instance?  I was hoping to find a macro or perhaps something in Content Tools under Space Tools that would list them all, but it has eluded me.

1 answer

Hi Holly,

I'm not aware of any way to do this from the web interface. It doesn't look like the calendar search function supports wildcards.

If you have database access or can work with a DBA, you can fetch all the subcalendars and filter them out to show only the individual parent calendars. We're using Oracle, but something similar should work with MySQL/PostgreSQL.

SELECT distinct(dbms_lob.substr(name,4000,1)) FROM AO_950DC3_TC_SUBCALS

Since the name column (which actually contains the name values for the parent calendars) is a CLOB in the database, a little trickery (substring) was needed to be able to run a distinct function on it.

Sounds like a good feature request though; nothing even in the plugin admin allows you to view all calendars.

Thanks Daniel. I can talk with our DBA. Would be a nice function for administrators.

Hi Holly, just wondering if this ended up working for you and if your DBA had to make any query changes if you're running on a different database engine.

Suggest an answer

Log in or Sign up to answer
Community showcase
Published Mar 12, 2019 in Confluence

Confluence Admin Certification now $150 for Community Members

More and more people are building their careers with Atlassian, and we want you to be at the front of this wave! Important Dates Start the Certification Prep Course by 2 April 2019 Take your e...

258 views 2 10
Read article

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