Uploaded image for project: 'Jira Service Management Data Center'
  1. Jira Service Management Data Center
  2. JSDSERVER-6995

Wrong context path in ViewProfile URL in "Users & roles" page

XMLWordPrintable

      Issue Summary

      When attempting to check the profile of a user (e.g project lead or any other user) from the "Users & roles" page, the hyperlinks use "/jira" context path instead of the one defined in Tomcat, therefore the page leads to a dead link.

      Steps to Reproduce

      1. In server.xml, set up Jira to use a custom context path (e.g /jira881)
      2. Restart Jira for the change to take effect.
      3. Create a JSD project
      4. Under _Project Settings > Users & Roles, t_he project lead should be defined by default to the project creator. You may also change it manually and add users to the project roles.
      5. Under Project Settings > Users & Roles, click on Project Lead or any other user on that page.

      Expected Results

      You should be able to see the user's profile and the page should open
      <Base_URL>/secure/ViewProfile.jspa

      Actual Results

      The click leads to a dead link since it opens <Hostname>/jira/secure/ViewProfile.jspa.
      Note that the base URL changed to <Hostname>/jira which should be hardcoded somewhere in the code.

      Workaround

      Currently, there is no known workaround for this behavior. A workaround will be added here when available

              Unassigned Unassigned
              mdhahak@atlassian.com Meriem Dhahak (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: