Book Image

JIRA 6.x Administration Cookbook

By : Patrick Li
Book Image

JIRA 6.x Administration Cookbook

By: Patrick Li

Overview of this book

Table of Contents (16 chapters)
JIRA 6.x Administration Cookbook
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
Index

Querying the JIRA database online


In the previous recipe, we looked at how to view JIRA log files online, which is a very convenient way to troubleshoot problems. In this recipe, we will continue with this by looking at how you can run queries against the JIRA database from the JIRA UI directly.

Getting ready

For this recipe, we need to have the Home Directory Browser for JIRA add-on installed. You can download it from the following link and install it with the UPM:

https://marketplace.atlassian.com/plugins/com.atlassian.sysadmin.homedirectorybrowser

How to do it…

Perform the following steps to query the JIRA database directly in the JIRA UI:

  1. Navigate to Administration | Add-ons | Db Console.

  2. Select the database table to query from.

  3. Select the columns to include as part of the query, or leave it blank for all the columns.

  4. Optionally, you can construct your own queries in the Enter SQL text field.

  5. Click on the Execute button to run the SQL query:

How it works…

The Db console opens up a direct connection...