Jira Software boards not visible after filter deletion
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
Summary
The JIRA Software rapid board is missing after its associated filter is deleted. Accessing the board URL will display the warning message below:
The requested board cannot be viewed because it either does not exist or you do not have permission to view it.
Or:
You can't view this board
It may have been deleted or you don't have permission to view it.
This article focuses on the case where the board still exists and the permissions are properly setup.
Environment
Jira Software 6.0.7 and above.
Diagnosis
The symptom may be this screen or a similar error message:
Next, you can validate the database for all boards that have invalid filters associated with them:
The below SQL allows admins to find all the board column statuses with non-existing status ids. These boards won't cause problems unless they need to be accessed so you may see a bigger list than expected.
SELECT DISTINCT
rv."ID" AS "Board ID"
, rv."NAME" AS "Board Name"
, rv."OWNER_USER_NAME" AS "Board Owner"
, ba."RAPID_VIEW_ID" AS "Foreign Key ID from the Board Admins table"
FROM "AO_60DB71_RAPIDVIEW" rv
LEFT JOIN searchrequest sr ON (rv."SAVED_FILTER_ID" = sr.id)
LEFT JOIN "AO_60DB71_BOARDADMINS" ba ON (rv."ID" = ba."RAPID_VIEW_ID")
WHERE NOT EXISTS ( SELECT *
FROM searchrequest
WHERE id = rv."SAVED_FILTER_ID" )
ORDER BY rv."ID";
SELECT DISTINCT
rv.ID AS "Board ID"
, rv.NAME AS "Board Name"
, rv.OWNER_USER_NAME AS "Board Owner"
, ba.RAPID_VIEW_ID AS "Foreign Key ID from the Board Admins table"
FROM AO_60DB71_RAPIDVIEW rv
LEFT JOIN searchrequest sr ON (rv.SAVED_FILTER_ID = sr.id)
LEFT JOIN AO_60DB71_BOARDADMINS ba ON (rv.ID = ba.RAPID_VIEW_ID)
WHERE NOT EXISTS ( SELECT *
FROM searchrequest
WHERE id = rv.SAVED_FILTER_ID )
ORDER BY rv.ID;
Cause
If the shared filter associated with a board is deleted from JIRA, the board will not be visible anymore on the Manage Boards page.
This is caused by the fact that JIRA Software is unable to determine the filter details of the board and it does not show the board anymore.
Solution
Always perform a backup of the JIRA data as described in Backing Up Data before proceeding
A suggestion to prevent this from happening is being tracked at - GHS-6706Getting issue details... STATUS