JIRA Issues Macro: JIRA project does not exist or you do not have permission to view it." is thrown on Confluence page

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

When rendering a JIRA issue in a Confluence page using the JIRA Issue Macro, an "JIRA Issues Macro: JIRA project does not exist or you do not have permission to view it" error is thrown.

(Auto-migrated image: description temporarily unavailable)

Cause

This is can be caused by one or more disabled system plugins.

Diagnosis

Run the following query to determine if the suggested resolution below will apply to your situation. It will apply if this query returns rows for pluginkey jira.issueviews:issue-xml and/or jira.issueviews:searchrequest-xml.

1 2 3 SELECT *  FROM pluginstate  WHERE pluginenabled = 'false';

Resolution

Re-enable the disabled plugins:

  1. Perform a backup of your JIRA instance: Backing up data

  2. Shut JIRA down

  3. Run the following queries against your database:

    1 2 DELETE from pluginstate WHERE pluginkey = 'jira.issueviews:issue-xml'; DELETE from pluginstate WHERE pluginkey = 'jira.issueviews:searchrequest-xml';
  4. Restart JIRA

Updated on April 11, 2025

Still need help?

The Atlassian Community is here for you.