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's database schema


JIRA stores its configuration and data in a database; if you are evaluating JIRA, then it's possible to use the embedded Hyper SQL Database (HSQLDB) written in Java. It's suitable for small applications and JIRA uses it only in its evaluation version. HSQLDB is not recommended for production usage. For that, JIRA recommends MySQL or PostgreSQL.

No matter what type of database is used, the database scheme, that is, the tables and the relationship between them is the same. If you want to take a look at the schema, then you can refer to JIRA_HOME/WEB-INF/classes/entitydefs/entitymodel.xml.

The contents of the file are as displayed in the following screenshot:

This is an XML file that contains the definition of all the tables in JIRA and its relationship with other tables.

Alternatively, you can also check the database schema on the Atlassian website at https://developer.atlassian.com/display/JIRADEV/Database+Schema.

Accessing HSQLDB

As we just mentioned that HSQLDB is used...