JIRA Issues Macro: JIRA project does not exist or you do not have permission to view it." is thrown on Confluence page
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
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:
- Perform a backup of your JIRA instance: https://confluence.atlassian.com/jira/backing-up-data-185729581.html
- Shut JIRA down
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';
- Restart JIRA