Uploaded image for project: 'Confluence Data Center'
  1. Confluence Data Center
  2. CONFSERVER-50112

Make Google Calendar to Team Calendars synchronisation frequency or interval to be configurable



    • 2
    • 7
    • We collect Confluence feedback from various sources, and we evaluate what we've collected when planning our product roadmap. To understand how this piece of feedback will be reviewed, see our Implementation of New Features Policy.


      NOTE: This suggestion is for Confluence Server. Using Confluence Cloud? See the corresponding suggestion.

      Currently, when one subscribes Google Calendar in the Team Calendars, any updates on Google Calendar will be synced/pulled to Team Calendar within one hour time. Some users reported that it takes longer than one hour. This sync interval is currently not configurable. It would be great to have this sync interval configurable somewhere.

      One-off Workaround

      You can do either one of the following to trigger the sync:

      • Flush Confluence caches by going to Confluence Admin > Cache Statistics > Flush All. To be exact, you only need to flush these 2 caches (one after another):
        • Team Calendars - Internal cache for external-sourced sub-calendars
        • Team Calendars - iCal subscription sub-calendar events
      • One of our user reports that refreshing the Google Calendar page could trigger the sync as well.

      Better Workaround

      Add the following in your confluence-home/config/ehcache.xml and then restart Confluence:

          <!-- Team Calendar Cache Config to pull GCal update to TC every 5 minutes -->
          <cache name="com.atlassian.confluence.extra.calendar3.calendarstore.ExternalCalendarDataStore" maxElementsInMemory="1000" eternal="false" timeToIdleSeconds="299" timeToLiveSeconds="299" overflowToDisk="false" />
          <cache name="com.atlassian.confluence.extra.calendar3.calendarstore.SubscriptionCalendarDataStore:subcalendar-data" maxElementsInMemory="1000" eternal="false" timeToIdleSeconds="300" timeToLiveSeconds="300" overflowToDisk="false" />

      This will get the sync to be triggered every 5 minutes. Feel free to change the duration as per your need. Please note to ensure the value of "com.atlassian.confluence.extra.calendar3.calendarstore.ExternalCalendarDataStore" is one second before the value of "com.atlassian.confluence.extra.calendar3.calendarstore.SubscriptionCalendarDataStore:subcalendar-data"


        Issue Links



              Unassigned Unassigned
              halatas HuseinA
              55 Vote for this issue
              37 Start watching this issue