Book Image

Mastering JIRA

By : Ravi Sagar
Book Image

Mastering JIRA

By: Ravi Sagar

Overview of this book

<p>JIRA is an issue-tracking tool from Atlassian and has gained immense popularity in recent years due to its ease of use and, at the same time, its customization abilities and finely grained control over various functions. JIRA offers functionalities for creating tasks and assigning them to users and many useful add-ons can be added such as JIRA Agile for Agile tracking and Groovy scripts, a powerful tool for administering customizations for customizations.</p> <p>This book explains how to master the key functionalities of JIRA and its customizations and add-ons, and is packed with real-world examples and use cases. You will first learn how to plan JIRA installation. Next, you will be given a brief refresher of fundamental concepts and learn about customizations in detail. Next, this book will take you through add-on development to extend JIRA functionality. Finally, this book will explore best practices and troubleshooting, to help you find out what went wrong and how to fix it.</p>
Table of Contents (23 chapters)
Mastering JIRA
Credits
About the Author
About the Reviewer
www.PacktPub.com
Preface
Index

JIRA Directory structure, startup/shutdown scripts, and log files


It's important for a JIRA administrator to know the JIRA directory structure really well because you will often need to take backups, make changes in the configuration files, and restore the system. All such activities need to be done on the server and has to be done through its respective directories.

The JIRA Installation Directory

The JIRA Installation Directory is the directory in which the JIRA application files and libraries are extracted. JIRA does not make changes nor save any data here.

If you have installed JIRA using automated Windows or Linux installers, then the JIRA Installation Directory is stored at the following location:

  • Windows: C:\Program Files\Atlassian\JIRA

  • Linux: /opt/atlassian/jira

The startup and shutdown scripts are available in the bin directory under the JIRA installation directory:

  • Startup script: bin/start-jira.bat or bin/start-jira.sh

  • Shutdown script: bin/stop-jira.bat or bin/stop-jira.sh

The JIRA Home Directory

The JIRA Home Directory has important files that JIRA requires to work properly. Do not modify these files.

If you install JIRA using automated Windows or Linux installers, the default location of the JIRA Home Directory is stored at the following locations:

  • Windows: C:\Program Files\Atlassian\Application Data\JIRA

  • Linux: /var/atlassian/application-data/jira/

Subdirectories under the JIRA Home Directory

Following are the list of subdirectories under the JIRA Home Directory:

  • data: The application data of the JIRA instance is stored here. Attachments and all its versions are stored under a subdirectory called attachments import. If you want to restore JIRA, the backfile needs to be placed in this directory.

  • export: This directory is used to store automated backup files.

  • log: The log files are stored here.

  • cache: The cache files are stored here.

  • tmp: During various runtime operations, such as import, export, and indexing, there are some temporary files that are generated. All such files are stored here.