Team Calendars for Confluence unable to load events from JIRA calendar
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
Problem
Jira events are not appearing in Team Calendars, even though the Application Link is fine and JIRA issue macros work fine on Confluence pages.
Symptoms
The following errors can be seen in the Confluence logs:
atlassian-confluence.log
1
2
3
4
5
6
2019-11-25 12:25:31,702 ERROR [https-jsse-nio-8091-exec-5] [extra.calendar3.calendarstore.CalendarDataStoreCachingDecorator] load Could not load calendar content from cache key
...
Caused by: com.atlassian.confluence.extra.calendar3.calendarstore.JiraAccessor$JiraResponseException: The response from project = "PROJKEY" didn't make sense
atlassian-confluence.log
1
Unable to load events of <user> (a82c0c96-0a43-4f90-a519-f950120e40a0): Unable to read response from https://<domain name>/rest/ical/1.0/ical/search/filter/events.ics?_=1351680360427&searchFilterId=10102&dateFieldName=versiondue&dateFieldName=duedate&dateFieldName=sprint&includeFixVersions=true as iCalendar text
Cause
This error may due to some causes:
JIRA could be down
User may not have access to the saved filter. There is an ongoing improvement request about this: CONFSERVER-51116 - Meaningful message when there is lack of permission to view saved filter
The JQL may be pointing to projects or fields that no longer exist
Network timeout issues
JIRA is set to use a "GMT-X" timezone format using the -Duser.timezone startup parameter. This issue is being tracked here: CONFSERVER-50030 - JIRA Team Calendars unable to show in Confluence if JIRA user.timezone is set to GMT-X format
If you're using JIRA 4.4 and Team Calendars for Confluence JIRA Integration version 1.0.11, you may hitting this bug: https://ecosystem.atlassian.net/browse/JICAL-12
Resolution
Based on the four identified causes above, the corresponding suggested resolutions are as below:
Troubleshoot: Check if the JIRA service is running
Fix: Bring JIRA back up
Troubleshoot: Check the permissions on the JIRA saved filter (Get the owner of the JIRA saved filter to share it, if yet to be shared)
Fix: Ensure the viewer has permissions
Troubleshoot: Run the JQL in the issue navigator and ensure it is a valid JQL query
Fix: Edit the JIRA calendar and re-apply the new JQL query
Troubleshoot: An administrator would have to connect to the Confluence server and test the connection between it and the JIRA server
Troubleshoot: Look for the following error in the JIRA logs (
<jira_home>/log/atlassian-jira.log
):1 2 3 4 5 6 7 8 9 10 11
2011-06-10 15:01:45,759 TP-Processor2 ERROR couri 901x2x1 1yk5fq8 10.2.144.11 /rest/ical/1.0/ical/project/CSP/events.ics [jira.extra.icalfeed.IcalendarResource] Unable to export issues to iCalendar java.lang.NullPointerException at com.atlassian.jira.extra.icalfeed.IcalendarResource.toIcalendar(IcalendarResource.java:186) at com.atlassian.jira.extra.icalfeed.IcalendarResource.search(IcalendarResource.java:178) at com.atlassian.jira.extra.icalfeed.IcalendarResource.getIcalendarByProject(IcalendarResource.java:133) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at com.atlassian.plugins.rest.common.interceptor.impl.DispatchProviderHelper$ResponseOutInvoker$1.invoke(DispatchProviderHelper.java:206) at...
Fix: Set the Java system property user.timezone to use a format such as "US/Pacific" or "America/New York" (e.g. -Duser.timezone=US/Pacific) in JIRA. For details to set system properties in JIRA, please refer to this documentation - Setting Properties and Options on Startup
Upgrade to JIRA 5.2.x or use Team Calendars for Confluence JIRA Integration version 1.0.9 instead
Was this helpful?