-
Bug
-
Resolution: Done
-
High
-
9.2.0, 9.3.0
-
9.02
-
8
-
Severity 2 - Major
-
42
-
Issue Summary
Projects with underscore in project key are broken/redirect removes the underscore of the issue key, sidebar fails to load
This is reproducible on Data Center: yes
Note: The issue is not reproducible on 9.1.0
Steps to Reproduce
- Install Jira 8.13.x
- Go to Administration > System > Click the Advanced Settings button on the 'General Configuration' page.
- Edit “jira.projectkey.pattern" with value: ([A-Z][A-Z0-9_]+) - to allow project keys with underscore
- Create a Project with underscore on the project key. Eg: Basic Project, B_P
- Create a few issues on this project: B_P-1, B_P-2
- Upgrade to Jira 9.2.0
- On the System Dashboard, click on a link for issues from the test project. Eg: On Assign to me gadget click on B_P-1
Sidebar fails to load: - The issue will open but the Project left panel won’t load. An error is displayed
- After a refresh we see “You can’t view this issue”
- The URL is wrong, underscore is missing on project key
- If you Navigate to Projects > Basic Project and open B_P-1, it works fine
Expected Results
When using a link to access the issue it should load without error. Underscore should not be removed from project key and the issue should open on the page refresh.
Actual Results
An error when trying to open the issue using a link, and a redirect removing underscore from the URL.
Sidebar will fail to load, also the following error might display:
"We couldn't load the project sidebar. Refresh the page to try again"
On refreshing the page, the URL of the issue on which it was originally accessed from will change to remove the 'underscore' character, and it will show "You can't view this issue" page, which could be seen from the .har file
Console output will log:
batch.js?baseurl-check-resources=true&healthcheck-resources=true&jira.create.linked.issue=true&locale=en-US&richediton=true:584 *Error while rendering sidebar.* Message: \{readyState: 4, getResponseHeader: ƒ, getAllResponseHeaders: ƒ, setRequestHeader: ƒ, overrideMimeType: ƒ, …}
Workaround
Access the issues from inside the Project view.
- is cloned by
-
MNSTR-6477 Loading...