How to do it...

Perform the following steps to set up a context path for Jira:

  1. Shut down Jira if it is running.
  2. Open up JIRA_INSTALL/conf/server.xml in a text editor.
  1. Locate the following line and enter the context path for the path attribute—for example, path="/jira":
<Context path="/jira"docBase="${catalina.home}
/atlassian-jira" reloadable="false"
useHttpOnly="true">

  1. Save the file and restart Jira. If you are doing this after Jira has been installed, you will have to update Jira's base URL option so that its links will reflect the change.
  2. Log into Jira as an administrator.
  3. Navigate to Administration Systems General Configuration.
  4. Click on the Edit Settings button.
  5. Enter the fully qualified URL in Jira, including the context path, in the Base URL field.
  6. Click on Update to apply the change.

After you have all this set up, you will be able to access Jira with the new context path, and all the links, including those from Jira's notification emails, will be the context path in the URL.