Search icon CANCEL
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Conferences
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Mastering JIRA 7

You're reading from   Mastering JIRA 7 Become an expert at using JIRA 7 through this one-stop guide!

Arrow left icon
Product type Paperback
Published in Oct 2016
Publisher Packt
ISBN-13 9781786466860
Length 450 pages
Edition 2nd Edition
Languages
Tools
Arrow right icon
Author (1):
Arrow left icon
Ravi Sagar Ravi Sagar
Author Profile Icon Ravi Sagar
Ravi Sagar
Arrow right icon
View More author details
Toc

Table of Contents (19) Chapters Close

Preface 1. Planning Your JIRA Installation 2. Searching in JIRA FREE CHAPTER 3. Reporting – Using Charts to Visualize the Data 4. Customizing JIRA for Test Management 5. Understanding Zephyr and its Features 6. Sample Implementation of Use Cases 7. User Management, Groups, and Project Roles 8. Configuring JIRA User Directories to Connect with LDAP, Crowd, and JIRA User Server 9. JIRA Add-On Development and Leveraging the REST API 10. Importing and Exporting Data in JIRA and Migrating Configuration 11. Working with Agile Boards in JIRA Software 12. JIRA Administration with ScriptRunner and the CLI Add-on 13. Database Access 14. Customizing Look, Feel, and Behavior 15. Implementing JIRA Service Desk 16. Integrating JIRA with Common Atlassian Applications and Other Tools 17. JIRA Best Practices 18. Troubleshooting JIRA

User table

The cwd_user table is used to store a user in the system. Let's check the structure of this table.

The table structure

Run the following query:

desc cwd_user;

The output of the query is as follows:

The table structure

Finding the list of inactive JIRA users

One of the main responsibilities of JIRA administrators is user management. Let's say you want to find the list of inactive users, along with their directory information. In big JIRA instances, it may be possible that there are users in JIRA's internal directory, as well as users from corporate LDAP.

The following query will return the list of inactive users in JIRA:

SELECT u.user_name,u.first_name,u.last_name,u.email_address,d.directory_name 
from cwd_user u join cwd_directory d on u.directory_id = d.id where u.active 
= 0;

The preceding query relies on another table, called cwd_directory. This directory stores the user directory information, whereas whether the user is active or not is stored in the cwd_user table under the active...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at €18.99/month. Cancel anytime