Cannot load Versions and Components if Project Key begins with a number other than 0
症状
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":{}}
診断
The Project Key starts with a number other than 0
原因
The Project Key format is not supported, as per this announcement and 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
ソリューション
- 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
最終更新日 2018 年 11 月 2 日
Powered by Confluence and Scroll Viewport.