Book Image

Mastering JIRA 7 - Second Edition

By : Ravi Sagar
Book Image

Mastering JIRA 7 - Second Edition

By: Ravi Sagar

Overview of this book

Atlassian JIRA 7 is an enterprise issue tracker system. One of its key strengths is its ability to adapt to the needs of an organization, ranging from building software products to managing your support issues. This book provides a comprehensive explanation covering all three components of JIRA 7, such as JIRA Software, JIRA Core, and Jira Service Desk. It shows you how to master the key functionalities of JIRA and its customizations and useful add-ons, and is packed with real-world examples and use cases. You will first learn how to plan for a JIRA 7 installation and fetch data. We cover JIRA reports in detail, which will help you analyze your data effectively. You can add additional features to your JIRA application by choosing one of the already built-in add-ons or building a new one to suit your needs. Then you'll find out about implementing Agile methodologies in JIRA by creating Scrum and Kanban boards. We'll teach you how to integrate your JIRA Application with other tools such as Confluence, SVN, Git, and more, which will help you extend your application. Finally, we'll explore best practices and troubleshooting techniques to help you find out what went wrong and understand how to fix it.
Table of Contents (25 chapters)
Mastering JIRA 7 - Second Edition
Credits
About the Author
Acknowledgements
About the Reviewer
www.PacktPub.com
Preface

Preface

JIRA is a popular issue tracking tool from Atlassian and has amazing customization abilities and finely grained control over various functions. Out of the box, JIRA offers issue and bug tracking capabilities to create tasks, assign them to users, and generate useful reports. However, the real power of JIRA lies in the customizations it offers.

Experienced JIRA administrators looking to learn advanced topics and expand their knowledge will benefit from this book. This book provides a comprehensive explanation covering all components of JIRA 7, such as JIRA Software, JIRA Core, and JIRA Service Desk.

Packed with real-world examples and use cases, you will first learn how to plan the JIRA installation. Then, you will be given a brief refresher of the fundamental concepts and understand the customizations in detail, along with sample data for various use cases, and several aspects of JIRA administration, such as user management, groups, roles, and security levels, will be covered, keeping in mind the applications for enterprises. Next, this book will take you through add-on development to extend JIRA's functionality, and will give insights into building applications on top of JIRA using the REST API. Various aspects of migration from other tools using CSV files will also be discussed. This book has a separate section on implementation of the JIRA Service Desk application, which is a very popular add-on for support requests and the ticketing system.

The implementation of the Scrum and Kanban techniques along with Agile reports, will be discussed as well. We will take a look at the Groovy script, which is a great tool that empowers JIRA administrators with tremendous flexibility. Additionally, we will also take a look at some of the common database tables to fetch useful results and discuss the possibilities to add custom CSS and JavaScript in our JIRA instance. Finally, we will conclude the book by going through the best practices and troubleshooting to help you find out what went wrong and how to fix it.

What this book covers

Chapter 1, Planning Your JIRA Installation, covers planning the JIRA installation to ensure the longevity of the installation so that it can accommodate more users and data in future. The installation and update process is also discussed briefly in this chapter.

Chapter 2, Searching in JIRA, gives a detailed explanation of how data can be fetched from JIRA using the Basic search feature, as well as by writing advanced queries using JQL.

Chapter 3, Reporting – Using Charts to Visualize the Data, covers various built-in project reports that come with JIRA and how to present them on the dashboards.

Chapter 4, Customizing JIRA for Test Management, explains how to modify the configurations to implement new issue types for test campaigns and test cases. The procedure to implement a new workflow with conditions, along with a new permission scheme, will be discussed in detail.

Chapter 5, Understanding Zephyr and its Features, walks through a step-by-step implementation of this popular add-on for test management in JIRA.

Chapter 6, Sample Implementation of Use Cases, gives a lot of examples of different implementations, such as the Helpdesk system and requirement management, that readers can leverage in their company.

Chapter 7, User Management, Groups, and Project Roles, explains how to manage the users in JIRA and the way to organize them in various groups.

Chapter 8, Configuring JIRA User Directories to Connect with LDAP, Crowd, and JIRA User Server, discusses how to integrate your JIRA instance with LDAP and Crowd for external user management.

Chapter 9, JIRA Add-on Development and Leveraging the REST API, explains how to start developing add-ons for JIRA to extend the functionality. The JIRA REST API which enables us to accessing JIRA functionality from external tools, is also discussed with examples.

Chapter 10, Importing and Exporting Data in JIRA and Migrating Configuration, talks about how data from external tools can be imported using the CSV import and Project Import features. The importance of taking regular backups is explained in this chapter, along with the procedure to restore JIRA from a backup file.

Chapter 11, Working with JIRA Agile Boards in JIRA Software, explains how to implement the Scrum and Kanban techniques in JIRA. The planning of your Sprints in the Scrum and various customizations that one can do on these boards is discussed in detail along with the Burndown and Velocity charts that track the progress of the project.

Chapter 12, JIRA Administration with Script Runner and CLI Add-on, introduces the add-on that administrators can install and various additional features using scripting that it brings, which helps the administrators with various customizations that were otherwise not possible.

Chapter 13Database Access, explains how to fetch data directly from the JIRA database. This chapter has various useful queries to retrieve information from the database. The way to access data from an embedded HSSQL database is also explained.

Chapter 14, Customizing Look, Feel, and Behavior, talks about how to make extreme changes in the JIRA design using Custom Stylesheets, and also, to controlling the HTML fields using JavaScript is explained.

Chapter 15, Implementing JIRA Service Desk, explains how to configure and set up the JIRA Service Desk application to handle your Support Requests.

Chapter 16, Integrating JIRA with Common Atlassian Applications and Other Tools, gives information on connecting JIRA with confluence, SVN, and Git.

Chapter 17, JIRA Best Practices, talks about various points that JIRA administrators should keep in mind, not only before implementing JIRA, but also various practices that they should employ on an ongoing basis.

Chapter 18, Troubleshooting JIRA, covers the various ways to identify the problems in the instance. Common problems that people face in JIRA are listed in this chapter.

What you need for this book

To install and run JIRA, the following software and tools are required:

  • JIRA 7.1.1 or later

  • MySQL 5.6 or later

  • Java 1.8 or later

  • PHP 5.4

  • Chrome 7 or later

  • Firefox 4 or later

Wherever applicable, the details on obtaining this software and its usage is explained in the relevant chapters.

Who this book is for

If you are a JIRA administrator managing small to medium JIRA instances and want to learn how to manage enterprise-scale instances, then this book will help you in expanding your knowledge and equip you with advanced skills. Prior understanding of JIRA core concepts is required. Additionally, basic CSS, JavaScript, and Java understanding will be helpful.

Conventions

In this book, you will find a number of text styles that distinguish between different kinds of information. Here are some examples of these styles and an explanation of their meaning.

Code words in text, database table names, folder names, filenames, file extensions, pathnames, dummy URLs, user input, and Twitter handles are shown as follows: "The atlas-run-standalone command is used to set up and start the JIRA instance for you."

A block of code is set as follows:

#if ($mentionable)
 $!rendererParams.put("mentionable", true)
 #if ($issue.project.key && $issue.project.key != "")
 $!rendererParams.put("data-projectkey", "$!issue.project.key")
 #end
 #if ($issue.key && $issue.key != "")
 $!rendererParams.put("data-issuekey", "$!issue.key")
 #end
#end

Any command-line input or output is written as follows:

atlas-mvn eclipse:eclipse

New terms and important words are shown in bold. Words that you see on the screen, for example, in menus or dialog boxes, appear in the text like this: "In the menu bar, click on Windows | Preferences."

Note

Warnings or important notes appear in a box like this.

Tip

Tips and tricks appear like this.

Reader feedback

Feedback from our readers is always welcome. Let us know what you think about this book-what you liked or disliked. Reader feedback is important for us as it helps us develop titles that you will really get the most out of. To send us general feedback, simply e-mail [email protected], and mention the book's title in the subject of your message. If there is a topic that you have expertise in and you are interested in either writing or contributing to a book, see our author guide at www.packtpub.com/authors.

Customer support

Now that you are the proud owner of a Packt book, we have a number of things to help you to get the most from your purchase.

Downloading the example code

You can download the example code files for this book from your account at http://www.packtpub.com. If you purchased this book elsewhere, you can visit http://www.packtpub.com/support and register to have the files e-mailed directly to you.

You can download the code files by following these steps:

  1. Log in or register to our website using your e-mail address and password.

  2. Hover the mouse pointer on the SUPPORT tab at the top.

  3. Click on Code Downloads & Errata.

  4. Enter the name of the book in the Search box.

  5. Select the book for which you're looking to download the code files.

  6. Choose from the drop-down menu where you purchased this book from.

  7. Click on Code Download.

Once the file is downloaded, please make sure that you unzip or extract the folder using the latest version of:

  • WinRAR / 7-Zip for Windows

  • Zipeg / iZip / UnRarX for Mac

  • 7-Zip / PeaZip for Linux

The code bundle for the book is also hosted on GitHub at https://github.com/PacktPublishing/Mastering-JIRA-7-Second-Edition. We also have other code bundles from our rich catalog of books and videos available at https://github.com/PacktPublishing/. Check them out!

Downloading the color images of this book

We also provide you with a PDF file that has color images of the screenshots/diagrams used in this book. The color images will help you better understand the changes in the output. You can download this file from http://www.packtpub.com/sites/default/files/downloads/MasteringJIRA7SecondEdition_ColorImages.pdf.

Errata

Although we have taken every care to ensure the accuracy of our content, mistakes do happen. If you find a mistake in one of our books-maybe a mistake in the text or the code-we would be grateful if you could report this to us. By doing so, you can save other readers from frustration and help us improve subsequent versions of this book. If you find any errata, please report them by visiting http://www.packtpub.com/submit-errata, selecting your book, clicking on the Errata Submission Form link, and entering the details of your errata. Once your errata are verified, your submission will be accepted and the errata will be uploaded to our website or added to any list of existing errata under the Errata section of that title.

To view the previously submitted errata, go to https://www.packtpub.com/books/content/support and enter the name of the book in the search field. The required information will appear under the Errata section.

Piracy

Piracy of copyrighted material on the Internet is an ongoing problem across all media. At Packt, we take the protection of our copyright and licenses very seriously. If you come across any illegal copies of our works in any form on the Internet, please provide us with the location address or website name immediately so that we can pursue a remedy.

Please contact us at [email protected] with a link to the suspected pirated material.

We appreciate your help in protecting our authors and our ability to bring you valuable content.

Questions

If you have a problem with any aspect of this book, you can contact us at [email protected], and we will do our best to address the problem.