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)

Upgrading Jira manually

If you find yourself in a situation where you cannot use the installer to upgrade Jira—for example, if you are hosting Jira on an OS that does not have an installer binary or on a cloud platform, then you can use the manual upgrade method to upgrade your Jira instance.

Getting ready

The tasks required to upgrade Jira manually will remain the same as those for the installer. Refer to the previous recipe for common tasks involved. As the installer automates many backup tasks while upgrading Jira manually, you will have to do the following:

  1. Back up the Jira database with its native backup utility.
  2. Back up the JIRA_INSTALL directory.
  3. Back up the JIRA_HOME directory.
  4. Get a list of all the customized files in the JIRA_INSTALL directory from the System Info page in Jira.

How to do it...

To manually upgrade your Jira instance, perform the following steps:

  1. Take your current Jira offline.
  2. Install the new version of Jira in a different directory.
  3. Edit the jira-application.properties file in the JIRA_INSTALL/atlassian-jira/WEB-INF/classes directory to point to the existing JIRA_HOME directory.
  4. Copy any modified files from the old Jira instance to the new one.
  5. Start up the new Jira instance.
  6. Update the add-ons once Jira starts successfully.
  7. Remove the previous installation directory to avoid confusion.

How it works...

What we did here essentially involved setting up a new instance of Jira and pointing it at the old Jira instance's data. When we start up the new Jira instance, it will connect to the existing Jira database by reading the dbconfig.xml file from the JIRA_HOME directory, and will perform an in-place upgrade to make all the necessary schema changes.