Reader small image

You're reading from  JIRA 7 Essentials - Fourth Edition

Product typeBook
Published inNov 2016
Reading LevelBeginner
PublisherPackt
ISBN-139781786462510
Edition4th Edition
Languages
Tools
Right arrow
Author (1)
Patrick Li
Patrick Li
author image
Patrick Li

Patrick Li is the cofounder of AppFusions and works as a senior engineer there, specializing in integration solutions with many enterprise applications and platforms, including IBM Connections, Jive, Google Apps, and more. He has worked in the Atlassian ecosystem for over 10 years, developing products and solutions for the Atlassian platform and providing expert consulting services. He has authored many books and video courses covering Jira. He has extensive experience in designing and deploying Atlassian solutions from the ground up and customizing existing deployments for clients across verticals such as healthcare, software engineering, financial services, and government agencies.
Read more about Patrick Li

Right arrow

Chapter 10. Searching, Reporting, and Analysis

From Chapter 2, Using JIRA for Business Projects, to Chapter 6Screen Management, we looked at how JIRA can be used as an information system to gather data from users. In Chapter 7Workflow and Business Process, and Chapter 8E-mails and Notifications, we discussed some of the features that JIRA provides to add value to the gathered data through workflows and notifications. In this chapter, we will look at the other half of the equation: getting the data out and presenting it as useful information to the users.

By the end of this chapter, you will have learned the following:

  • Utilizing the search interface in JIRA

  • Learning the different search options available in JIRA

  • Getting to know about filters and how you can share search results with other users

  • Generating reports in JIRA

  • Sharing information with dashboards and gadgets

Search interface and options in JIRA


As an information system, JIRA comes fully loaded with features and options to search for data. JIRA comes with three search options:

  • Quick/text search: This allows you to search for issues quickly through simple text-based search queries

  • Basic/simple search: This lets you specify issue field criteria via intuitive UI controls

  • Advanced search: This lets you construct powerful search queries with JIRA's own search language, JIRA Query Language (JQL)

However, before we start looking into the in-depth details of all the search options JIRA provides, let's first take a look at the main search interface that you will be using in JIRA while performing your searches.

Issue navigator


The issue navigator is the primary interface where you will be performing all of your searches in JIRA. You can access the issue navigator by clicking on the Issues menu in the top menu bar and then selecting Search for issues.

The issue navigator is divided into several sections. The first section is where you will specify all of your search criteria, such as the project you want to search in and the issue type you are interested in. The second section shows the search results brought back. The third section includes the operations that you can perform on the search results, such as exporting them in a different format. The fourth and last section lists a number of useful, pre-configured, and user-created filters.

When you access the issue navigator for the first time, you will be in the basic search (we will discuss the different search options in more detail later in this chapter). If you previously visited the issue navigator and chose to use a different search option,...

Advanced search with JQL


Basic search is useful and will fulfill most of the users' search needs. However, there are still some limitations. One such limitation is that basic search allows you to perform searches based on inclusive logic but not exclusive logic. For example, if you need to search for issues in all but one project, with basic search, you will have to select every project except for the one to be excluded, since the basic search interface does not let you specify exclusions, and this is where advanced search comes in.

With advanced search, instead of using a field selection-based interface as in basic search, you will be using what is known as the JIRA Query Language (JQL). JQL is a custom query language developed by Atlassian. If you are familiar with the Structured Query Language (SQL), you will notice that it has a similar syntax; however, JQL is not the same as SQL.

One of the most notable differences between JQL and SQL is that JQL does not start with a select statement...