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

Still need help?

The Atlassian Community is here for you.

Ask the community


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. 


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.

SELECT * 
FROM pluginstate 
WHERE pluginenabled = 'false';

Resolution

Re-enable the disabled plugins:

  1. Perform a backup of your JIRA instance:  https://confluence.atlassian.com/jira/backing-up-data-185729581.html
  2. Shut JIRA down 
  3. Run the following queries against your database:

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

Last modified on Mar 15, 2022

Was this helpful?

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