Uploaded image for project: 'Jira Data Center'
  1. Jira Data Center
  2. JRASERVER-71573

Users and Roles screen renders invalid link in React mode resulting in 404 error

XMLWordPrintable

      Issue Summary

      Users and Roles screen in the project settings will render invalid link in React mode (default since 8.60). The link rendered for users is always like this:

      <base url>/jira/secure/ViewProfile.jpsa?name=<user>

      The jira part of URL is invalid, since the base URL is set to something like <base URL>/myjiraserver/ and the link should respect that. Note that when the base URL does not have any URL suffix, the jira part is still rendered, though when clicked you can still get where you want, but if you have a context path specified in your jira, you will get HTTP 404 error.

      Steps to Reproduce

      1. Go to any project settings -> Users and Roles
      2. Add any user to the table and check the link rendered for it.

      Expected Results

      The link rendered should respect the context path.

      Actual Results

      Context path rendered always as jira, if clicked you might get 404 if your Jira is using a different context path.

      Workaround

      As a temporary workaround, you can disable rendering of that screen through React and revert to the previous way of rendering:

      • Navigate to the following page to access the Dark Features page:
        <baseUrl>/secure/admin/SiteDarkFeatures!Default.jspa
      • Enter jira.users.and.roles.page.in.react.disabled in the field “Enable dark feature” and clicking on the “Add” button, and verify that the dark feature jira.users.and.roles.page.in.react.disabled is showing in the table.

              Unassigned Unassigned
              apatyuchenko Andrey Patyuchenko (Inactive)
              Votes:
              17 Vote for this issue
              Watchers:
              28 Start watching this issue

                Created:
                Updated: