JIRA Issues Macro shows an empty table with no issues but shows the total number of issues when displaying in table mode

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

Summary

Problem

JIRA Issues Macro only shows the total amount of issues in JIRA based on the JQL query but not listing the specific issues even after the "Table" option is chosen.

In some cases, a NullPointerException may be seen instead of the empty table.

Diagnosis

  • Using the same JQL query for Charts macros works fine

  • Using the same JQL query for JIRA Issue macro only shows the total amount of issues

(Auto-migrated image: description temporarily unavailable)

Cause

JIRA's jira-config.properties contains the following customization. The "-1" denotes a value of "unlimited":

1 jira.search.views.max.limit=-1

Solution

Workaround

Remove the following line from jira-config.properties or set it to a non-unlimited value (the default is 1000). Restart JIRA to pick up the change.

1 jira.search.views.max.limit=-1

A related bug report has been filed for Confluence tracking this issue: CONFSERVER-56274 - JIRA Issues Macro does not display issues when "jira.search.views.max.limit" is set to "-1" (unlimited) on the JIRA side

Updated on April 2, 2025

Still need help?

The Atlassian Community is here for you.