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

Setting up the MySQL database


JIRA needs to store its data in a database. For this, we will set up a MySQL database. It's also possible to use PostgreSQL, Oracle, or Microsoft SQL Server with JIRA:

  1. Log in to your MySQL Server with the following command:

    mysql –u root –p
    
  2. Enter the password.

  3. Create a new database to be used by JIRA using the following command:

    Create database jiradb character set utf8;
    
  4. Create a new user and give it permissions on the database:

    GRANT SELECT,INSERT, UPDATE,DELETE,DROP,CREATE,ALTER,INDEX on jiradb.* TO 'jirauser'@'localhost' IDENTIFIED BY 'password';
    
  5. Flush the privileges using the following command:

    flush privileges;
    

We have created a MySQL database name as jiradb, database username as jirauser, and database password as password. Keep this information at hand because we will need it when we set up JIRA.

Note

To use MySQL with JIRA, you need to download a mysql-connector-java-5.1.32-bin database driver and copy it to the lib folder under JIRA's installation directory. The driver can be downloaded from http://dev.mysql.com/downloads/connector/j.