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
About the Author
About the Reviewer

Adding JavaScript to show/hide field

JIRA comes with tons of functionalities and customizations; however, there are times when you want more control over the behavior of HTML fields. For instance, if you want to show or hide a particular custom field on the basis of a value of another custom field, you can use custom JavaScript to do this.

Let's take a scenario where users who create a ticket in JIRA need to enter their analysis in one of the text areas based on the custom field, but they only need to fill it in when the priority of the issue is highest. Now, in order to achieve this, we want to completely hide the Analysis field first, and display it only when users set Priority as Highest.

Unlike the preceding example for inserting custom CSS, the custom JavaScript can be added directly from the JIRA interface. Perform these steps:

  1. Go to JIRA Administration | Issues | Custom fields (under FIELDS).

  2. Click on the Add custom field button in the top-right corner and select Field Type as Text Field...