How to increase the limit of issues retrieved from Jira by Team Calendar
This article only applies to Atlassian's server products. Learn more about the differences between cloud and server.
This Knowledge Base article was written specifically for Atlassian Data Center applications. The contents of this article do not apply to Server installations or the Atlassian Cloud platform.
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.
com.atlassian.confluence.extra.calendar3.jira.issues.max can be used to set the required maximum for JIRA search queries ran by Team Calendar add-on, when looking up "JIRA issue dates" events added to custom calendars. Note that setting very high thresholds may cause a 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 to a 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 Confluence installation directory "bin" folder can be modified and the following line should be appended right before the last export line:
Set the limit to any other integer (it is set to 12345 in the example above). Restart Confluence for the setting to take effect.