Project Shortcut is not showing in some projects
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 accessing a project, expanding the Project Sidebar would not show the "Project Shortcut" feature:
No error stack trace can be found in the logs.
Diagnosis
- The account used to access the Project already a JIRA Administrator or Project Administrator
- There are still some project that is not affected by this issue
- The following SQL query returns a result:
select * from "AO_550953_SHORTCUT" s, project p where s."PROJECT_ID" = p.id and s."SHORTCUT_TYPE" = 'project.shortcut.default.link';
Cause
It is not yet known on how JIRA generating the "SHORTCUT_TYPE" to "project.shortcut.default.link" but this appears to be the cause of the issue.
Resolution
Run the following SQL Query to remove any rows with "project.shortcut.default.link"
Please create the necessary backup before proceeding
delete from "AO_550953_SHORTCUT" where "SHORTCUT_TYPE" = 'project.shortcut.default.link';