Book Image

Jira 8 Administration Cookbook - Third Edition

By : Patrick Li
Book Image

Jira 8 Administration Cookbook - Third Edition

By: Patrick Li

Overview of this book

Jira is a project management tool used widely by organizations to plan, track, and release software. Jira administrators are at the heart of these processes and need to know how to successfully administer and customize Jira offerings. This updated Jira 8 Administration Cookbook demonstrates how to efficiently work with Jira Core and Jira Service Desk. The book starts with a variety of recipes to help you manage users and workflows. You'll learn how to set up custom forms and capture important data with custom fields and screens. Next, you'll gain insights into the latest email capabilities, which will assist you with everything from managing outgoing email rules to processing incoming emails for automated issue creation. Later, you'll be guided through running scripts to automate tasks, getting easy access to logs, and even working with tools to troubleshoot problems. The book will also ensure you understand how to integrate Jira with Slack, set up SSO with Google, and delegate administrator permissions. Finally, a dedicated section on Jira Service Desk will enable you to set up and customize your own support portal, work with internal teams to solve problems, and achieve optimized services with Service Level Agreement (SLA). By the end of this book, you'll have the skills you need to extend and customize your Jira implementation effectively.
Table of Contents (11 chapters)

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 center.

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 once the migration is successful.
Migrating a system can be very disruptive for users. Make sure you communicate this to your users and allocate sufficient time for rollbacks.

How to do it...

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

  1. Download and install a brand-new Jira instance in your new environment with an empty database.
  1. Note down the files listed under Modified Files and Removed Files in the System Info page for your current Jira. The following screenshot shows an example:
  1. Shut down your current Jira instance.
  2. Back up your current Jira database with the database's native backup utility.
  3. Back up your current JIRA_HOME directory.
  4. Take your new Jira offline.
  5. Copy over your JIRA_HOME backup and replace the new JIRA_HOME directory with it.
  6. Update the dbconfig.xml file with the new Jira database details.
  7. Copy your database backup and restore the new Jira database.
  8. Start up the new Jira instance.
  9. Apply the same changes to the new Jira instance from step 2.