Book Image

JIRA 7 Administration Cookbook - Second Edition

By : Patrick Li
Book Image

JIRA 7 Administration Cookbook - Second Edition

By: Patrick Li

Overview of this book

JIRA 7 Administration Cookbook, Second Edition covers all the new major features that provide better prioritizing capabilities, enhanced visibility, and the ability to customize JIRA application to meet your needs. We start by upgrading your existing JIRA instance and working through tasks you can perform at the server level to better maintain it. We then delve deep into adapting JIRA to your organization's needs, starting with the visual elements of setting up custom forms to capturing important data with custom fields and screens, and moving on to ensuring data integrity through defining field behaviors. You'll gain insights into JIRA's e-mail capabilities, including managing outgoing e-mail rules and processing incoming e-mails for automated issue creation. The book contains tips and tricks that will make things easier for you as administrators, such as running scripts to automate tasks, getting easy access to logs, and working with tools to troubleshoot problems. The book concludes with a chapter on JIRA Service Desk, which will enable you to set up and customize your own support portal, work with internal teams to solve problems, and achieve optimized services with SLA.
Table of Contents (15 chapters)
JIRA 7 Administration Cookbook - Second Edition
Credits
About the Author
About the Reviewer
www.PacktPub.com
Preface

Setting up the context path for JIRA


If you have multiple web applications running on the same domain, you might want to set up a context path for JIRA—for example, http://example.com/jira, where /jira is the context path.

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.

  3. Locate the following line and enter the context path for the path attribute—for example, path="/jira":

            <Contextpath="/jira"docBase="${catalina.home}
            /atlassian- jira" reloadable="false"
            useHttpOnly="true">
  4. Save the file and restart JIRA. If you are doing this after JIRA is installed, you will have to update JIRA's Base URL option so that its links will reflect the change.

  5. Then, log into JIRA as an administrator.

  6. Navigate to Administration | Systems | General Configuration.

  7. Click on the Edit Settings button.

  8. Enter the fully qualified URL into JIRA, including the context path in the Base URL field.

  9. 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 the ones from JIRA's notification e-mails, will be the context path in the URL.