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

Migrating JIRA to another environment


Now that we have gone through upgrading a JIRA instance, we will look at how to move a JIRA instance to another server environment. This is a common use case when you need to move an application to a virtualized environment or data warehouse.

Getting ready

The following things need to be checked before you start with this recipe:

  • Make sure you have a valid JIRA license.

  • Check whether your new environment is compatible with JIRA system requirements.

  • Ensure that both the old and new JIRA instances are of the same major or minor version. If you intend to run a newer version of JIRA in the new environment, it is recommended that you upgrade after the migration is successful.

Note

Migrating a system can be very disruptive for users. Make sure you communicate this to your users and allocate enough time for rollbacks.

How to do it...

To migrate an existing JIRA to another server, perform the following steps:

  1. Download and install a brand new JIRA instance in your new environment with an empty database.

  2. Take your current JIRA offline.

  3. Back up your current JIRA database with its native backup utility.

  4. Back up your current JIRA_HOME directory.

  5. Then, take your new JIRA offline.

  6. Copy over your JIRA_HOME backup and replace the new JIRA_HOME directory with it.

  7. Update the dbconfig.xml file with the new JIRA database details.

  8. Copy your database backup and restore the new JIRA database.

  9. Start up the new JIRA instance.

    Note

    If you have made modifications to your JIRA configuration files, you can get a complete list of the modified files from JIRA's System Info page.

  10. Next, log in to JIRA as a JIRA administrator.

  11. Select System info from the Administration panel.

  12. Note down the files listed in the Modified Files and Removed Files sections.

  13. Review and apply the same changes to the new JIRA instance.

The following screenshot shows how the output will look: