Cannot load Versions and Components if Project Key begins with a number other than 0
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
Summary
When attempting to access Project Administration > Versions/Components, the page loads but no information is displayed.
Diagnosis
Go to Project Administration > Versions or Components. The page loads forever:

The following info is seen from the browser's F12 developer tools:
Remote Address:[::1]:8641
Request URL:http://localhost:8641/jira/rest/api/2/project/12345/components?_=1430468160465
Request Method:GET
Status Code:404 Not Found
{"errorMessages":["No project could be found with id '12345'."],"errors":{}}
Remote Address:[::1]:8641
Request URL:http://localhost:8641/jira/rest/api/2/project/12345/versions?expand=operations&_=1430469050977
Request Method:GET
Status Code:404 Not Found
{"errorMessages":["No project could be found with id '12345'."],"errors":{}}
Cause
The Project Key format is not supported, as per Changing the Project Key Format.
ℹ️ Even if starting with 0 does not cause the same issue, it's still not supported and may cause other unexpected behaviors
Solution
Edit the project key of the project and add a letter to the beginning
Also edit the project key pattern to make sure NO number is allowed at the beginning of a project key
Was this helpful?