Team Calendars that it doesn't show a Login link when the oAuth credentials to Jira are no longer valid.

XMLWordPrintable

    • 2
    • Severity 3 - Minor
    • 3

      Problem

      Team Calendars that it doesn't show a Login link when the oAuth credentials to Jira are no longer valid.

      Environment

      Applications: Confluence 10.2.13 with Jira 11.3.8
      Application Link: Connected as oAuth 1.0

      Steps to Reproduce

      1. Created a new Team Calendar onto a Confluence page and added Jira Sprint event to the Calendar
        1. Results appeared correctly in Confluence Team Cal
      2. Purposely then broke the application link on Confluence side
        1. Navigate to Confluence Administration » General Configuration » Application Links
          1. Disabled outgoing on the App Link
        2. Navigate to Confluence Administration » General Configuration » Cache Management
          1. Clicked Flush All
        3. Navigate to Confluence Administration » General Configuration » Application Links
          1. Enabled the outgoing on the App Link back to oAuth
      3. Reloaded the Confluence page with TeamExpected Results

      Calendar should show without errors

      Actual Results

      1. UI Front End shows just an error:
        Error(s) occurred. Unable to load events of Test Project - Sprints (37fcd8d1-4b91-4a9d-ba11-ea7482054800): com.atlassian.confluence.extra.calendar3.exception.RuntimeCredentialsRequiredException  at com.atlassian.confluence.extra.calendar3.calendarstore.CalendarContentCacheLoader.load(CalendarContentCacheLoader.java:59)  at com.atlassian.confluence.extra.calendar3.calendarstore.CalendarDataStoreCachingDecorator.lambda$getCachedSubCalendarContent$0(CalendarDataStoreCachingDecorator.java:232)  at com.atlassian.confluence.impl.cache.caffeine.CaffeineCacheImpl.lambda$get$0(CaffeineCacheImpl.java:70)  at com.github.benmanes.caffeine.cache.LocalCache.lambda$statsAware$0(LocalCache.java:167)  at com.github.benmanes.caffeine.cache.BoundedLocalCache.lambda$doComputeIfAbsent$0(BoundedLocalCache.java:2707)  at java.base/java.util.concurrent.ConcurrentHashMap.compute(ConcurrentHashMap.java:1916)  at com.github.benmanes.caffeine.cache.BoundedLocalCache.doComputeIfAbsent(BoundedLocalCache.java:2705)  at com.github.benmanes.caffeine.cache.BoundedLocalCache.computeIfAbsent(BoundedLocalCache.java:2686)  at com.github.benmanes.caffeine.cache.LocalCache.computeIfAbsent(LocalCache.java:112)  at com.github.benmanes.caffeine.cache.LocalManualCache.get(LocalManualCache.java:63)  at com.atlassian.confluence.impl.cache.caffeine.CaffeineCacheImpl.get(CaffeineCacheImpl.java:70)  at com.atlassian.cache.impl.metrics.InstrumentedCache.get(InstrumentedCache.java:70) ..
      2. Back end atlassian-confluence.log shows:
        2026-08-13 13:58:15,768 WARN [http-nio-20213-exec-9 url: /c10213/rest/calendar-services/1.0/calendar/events.json; user: admin] [extra.calendar3.calendarstore.CalendarContentCacheLoader] load Could not load calendar content from cache key. Please enable DEBUG mode to see the error detail.  -- url: /c10213/rest/calendar-services/1.0/calendar/events.json | userName: admin | referer: http://localhost:20213/c10213/spaces/PD/pages/131166/team+cal+page | traceId: 950d99ae272c3568 2026-08-13 13:58:15,768 ERROR [http-nio-20213-exec-9 url: /c10213/rest/calendar-services/1.0/calendar/events.json; user: admin] [extra.calendar3.rest.AbstractResource] getEvents Unable to load events of sub-calendar 37fcd8d1-4b91-4a9d-ba11-ea7482054800  -- url: /c10213/rest/calendar-services/1.0/calendar/events.json | userName: admin | referer: http://localhost:20213/c10213/spaces/PD/pages/131166/team+cal+page | traceId: 950d99ae272c3568
      3. with com.atlassian.confluence.extra.calendar3 DEBUG enabled
        2026-08-13 13:59:27,239 WARN [http-nio-20213-exec-1 url: /c10213/rest/calendar-services/1.0/calendar/events.json; user: admin] [extra.calendar3.calendarstore.CalendarContentCacheLoader] load Could not load calendar content from cache key. Please enable DEBUG mode to see the error detail.  -- url: /c10213/rest/calendar-services/1.0/calendar/events.json | userName: admin | referer: http://localhost:20213/c10213/spaces/PD/pages/131166/team+cal+page | traceId: d97bf3d6cd48232f 2026-08-13 13:59:27,239 DEBUG [http-nio-20213-exec-1 url: /c10213/rest/calendar-services/1.0/calendar/events.json; user: admin] [extra.calendar3.calendarstore.CalendarContentCacheLoader] load Could not load calendar content from cache key because of:  -- url: /c10213/rest/calendar-services/1.0/calendar/events.json | userName: admin | referer: http://localhost:20213/c10213/spaces/PD/pages/131166/team+cal+page | traceId: d97bf3d6cd48232f com.atlassian.applinks.api.CredentialsRequiredException: You do not have an authorized access token for the remote resource.  at com.atlassian.applinks.oauth.auth.ThreeLeggedOAuthRequestFactoryImpl.retrieveConsumerToken(ThreeLeggedOAuthRequestFactoryImpl.java:111)  at com.atlassian.applinks.oauth.auth.ThreeLeggedOAuthRequestFactoryImpl.createRequest(ThreeLeggedOAuthRequestFactoryImpl.java:101)  at com.atlassian.applinks.core.auth.ApplicationLinkRequestFactoryFactoryImpl$AbsoluteURLRequestFactory.createRequest(ApplicationLinkRequestFactoryFactoryImpl.java:214)  at com.atlassian.applinks.core.auth.ApplicationLinkAnalyticsRequestFactory.createRequest(ApplicationLinkAnalyticsRequestFactory.java:32)  at com.atlassian.confluence.extra.calendar3.calendarstore.DefaultJiraAccessor.getCalendarFromEndPoint(DefaultJiraAccessor.java:445)  at com.atlassian.confluence.extra.calendar3.calendarstore.DefaultJiraAccessor.getCalendarByJql(DefaultJiraAccessor.java:427)  at com.atlassian.confluence.extra.calendar3.calendarstore.AbstractJiraSubCalendarDataStore.getSubCalendarContentInternal(AbstractJiraSubCalendarDataStore.java:508)  at com.atlassian.confluence.extra.calendar3.calendarstore.AbstractJiraSubCalendarDataStore.getSubCalendarContentInternal(AbstractJiraSubCalendarDataStore.java:74)  at com.atlassian.confluence.extra.calendar3.calendarstore.ExternalCalendarDataStore.getSubCalendarContent(ExternalCalendarDataStore.java:47)  at com.atlassian.confluence.extra.calendar3.calendarstore.CalendarContentCacheLoader.getSubCalendarContentFromCalendarDataStore(CalendarContentCacheLoader.java:104)  at com.atlassian.confluence.extra.calendar3.calendarstore.CalendarContentCacheLoader.load(CalendarContentCacheLoader.java:49)  at com.atlassian.confluence.extra.calendar3.calendarstore.CalendarDataStoreCachingDecorator.lambda$getCachedSubCalendarContent$0(CalendarDataStoreCachingDecorator.java:232)  at com.atlassian.confluence.impl.cache.caffeine.CaffeineCacheImpl.lambda$get$0(CaffeineCacheImpl.java:70)  at com.github.benmanes.caffeine.cache.LocalCache.lambda$statsAware$0(LocalCache.java:167)  at com.github.benmanes.caffeine.cache.BoundedLocalCache.lambda$doComputeIfAbsent$0(BoundedLocalCache.java:2707)  at java.base/java.util.concurrent.ConcurrentHashMap.compute(ConcurrentHashMap.java:1916)  at com.github.benmanes.caffeine.cache.BoundedLocalCache.doComputeIfAbsent(BoundedLocalCache.java:2705)  at com.github.benmanes.caffeine.cache.BoundedLocalCache.computeIfAbsent(BoundedLocalCache.java:2686)  at com.github.benmanes.caffeine.cache.LocalCache.computeIfAbsent(LocalCache.java:112)  at com.github.benmanes.caffeine.cache.LocalManualCache.get(LocalManualCache.java:63)  at com.atlassian.confluence.impl.cache.caffeine.CaffeineCacheImpl.get(CaffeineCacheImpl.java:70)  at com.atlassian.cache.impl.metrics.InstrumentedCache.get(InstrumentedCache.java:70)  at com.atlassian.confluence.extra.calendar3.calendarstore.CalendarDataStoreCachingDecorator.getCachedSubCalendarContent(CalendarDataStoreCachingDecorator.java:231)  at com.atlassian.confluence.extra.calendar3.calendarstore.CalendarDataStoreCachingDecorator.getSubCalendarContent(CalendarDataStoreCachingDecorator.java:194)  at com.atlassian.confluence.extra.calendar3.calendarstore.CalendarDataStoreCachingDecorator.findEvents(CalendarDataStoreCachingDecorator.java:494)  at com.atlassian.confluence.extra.calendar3.calendarstore.CalendarDataStoreCachingDecorator.getEvents(CalendarDataStoreCachingDecorator.java:460)  at com.atlassian.confluence.extra.calendar3.calendarstore.DelegatingCalendarDataStore.getEvents(DelegatingCalendarDataStore.java:640)  at com.atlassian.confluence.extra.calendar3.DefaultCalendarManager.getEvents(DefaultCalendarManager.java:660)  at com.atlassian.confluence.extra.calendar3.rest.resources.EventResource.getEvents(EventResource.java:440) ..

      Workaround

      Add the Jira Issues Macro to a Confluence page

      1. Open any existing Confluence page and click Edit, or create a new blank page.
      2. Click somewhere in the page content area where you want to add the macro.
      3. Type: /Jira
      4. From the list of suggested macros, select Jira Issues.
      5. If prompted, click Login & Approve to refresh the Jira connection and authorize Confluence.
      6. Complete the macro setup, or close the configuration window if you only need to refresh the connection.
      7. Click Publish or Update to save the page.
      8. Refresh the affected Confluence page and check whether the error has been resolved.

      Notes

              Assignee:
              Jake Lyell
              Reporter:
              Anderson Santos
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated: