Details
-
Bug
-
Resolution: Duplicate
-
Highest
-
None
-
7.0.5
-
7
-
Description
Summary
Regardless of the context path setup for JIRA, accessing the Release Notes link from a version's details page builds a URL with context path /jira, which possibly results in a 404 error.
Steps to Reproduce
On JIRA 6.4.x
- Setup a context path different than /jira for your JIRA instance;
- On a project's overview, click Releases and select a version, then click Release Notes;
- Notice the URL built uses /jira for its context path, which results either on a blank page or a 404 error;
On JIRA 7.0
- Setup a context path different than /jira for your JIRA instance;
- On a Scrum board, expand the Versions sidebar, then expand one of the versions and click Details;
- Click Release Notes, just below the version's name;
- Notice the URL built uses /jira for its context path, which results either on a blank page or a 404 error;
Expected Behavior
The context path should be retrieved from the application's Base URL, and not hard-coded.
Actual Behavior
Every time the URL for Release Notes is built, the context path is set to /jira.
Workaround
Option 1
You can manually edit the URL from your web browser, adding the right context path (as shown in screenshot below).
Option 2
Add the following script in JIRA's Announcement Banner
<script type="text/javascript"> jQuery(window).load(function(){ release_report_notes_link = document.getElementById("release-report-notes-link") if (release_report_notes_link != null){ release_report_notes_link.setAttribute("href",release_report_notes_link.getAttribute("href").replace('/jira', AJS.contextPath())); } }); </script>
Attachments
Issue Links
- duplicates
-
JRASERVER-59489 When a user generates a Release Notes from a project, the context path is ignored and automatically change to “/jira” resulting in a blank page
- Closed
-
JRASERVER-59757 When a user generates a Release Notes from a project, the context path is ignored and automatically change to “/jira” resulting in a blank page
- Closed
- is a regression of
-
JRASERVER-43658 When a user generates a Release Notes from a project, the context path is ignored and automatically change to “/jira” resulting in a blank page
- Closed
- is cloned from
-
JRASERVER-43658 When a user generates a Release Notes from a project, the context path is ignored and automatically change to “/jira” resulting in a blank page
- Closed
- relates to
-
JRASERVER-59489 When a user generates a Release Notes from a project, the context path is ignored and automatically change to “/jira” resulting in a blank page
- Closed
-
JRASERVER-59757 When a user generates a Release Notes from a project, the context path is ignored and automatically change to “/jira” resulting in a blank page
- Closed