How to increase the limit of issues retrieved from Jira by Team Calendar

Still need help?

The Atlassian Community is here for you.

Ask the community


Platform notice: Server and Data Center only. This article only applies to Atlassian products on the Server and Data Center platforms.

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




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

Purpose

By default, Team Calendar will retrieve a maximum of 1000 JIRA issues from a linked JIRA server. It is however possible to configure this limit.

Solution

System Property com.atlassian.confluence.extra.calendar3.jira.issues.max can be used to set the required maximum for JIRA search queries ran by the Team Calendar add-on when looking up "JIRA issue dates" events added to custom calendars. Note that setting very high thresholds may cause memory pressure to both Confluence and JIRA servers, as well as contribute to a worse user experience, since processing large datasets may take time. It is recommended to split events linked to large JIRA datasets into smaller events by some condition (e.g. years or months), and allow users to tick those smaller datasets on and off as needed.

The file setenv.sh in the Confluence installation directory "bin" folder can be modified and the following line should be appended right before the last export line:

CATALINA_OPTS="-Dcom.atlassian.confluence.extra.calendar3.jira.issues.max=12345 ${CATALINA_OPTS}"

Set the limit to any other integer (it is set to 12345 in the example above). Restart Confluence for the setting to take effect.





Last modified on Apr 24, 2022

Was this helpful?

Yes
No
Provide feedback about this article
Powered by Confluence and Scroll Viewport.