charlie talk - jql in a nutshell
DESCRIPTION
It promises to be one of the more powerful features of JIRA 4.0. Get a sneak peek at the new JIRA Query Language (JQL).By Dylan EtkinTRANSCRIPT
![Page 1: Charlie Talk - JQL In A Nutshell](https://reader034.vdocuments.net/reader034/viewer/2022052601/558de55a1a28abef428b46f2/html5/thumbnails/1.jpg)
JQLJIRA Query Language
Dylan Etkin, JIRA Technical Lead
![Page 2: Charlie Talk - JQL In A Nutshell](https://reader034.vdocuments.net/reader034/viewer/2022052601/558de55a1a28abef428b46f2/html5/thumbnails/2.jpg)
A brief history...I have worked on JIRA for 4 years
JQL is an advanced SQL-like query language for JIRA
JQL starts as a founder plugin (3 days to create)
Our customers have some of the worlds most interesting data, they just need to access it
![Page 3: Charlie Talk - JQL In A Nutshell](https://reader034.vdocuments.net/reader034/viewer/2022052601/558de55a1a28abef428b46f2/html5/thumbnails/3.jpg)
The elusive issue
Support wants to know if you know anything about weird problem X
What do we know about the issue?
![Page 4: Charlie Talk - JQL In A Nutshell](https://reader034.vdocuments.net/reader034/viewer/2022052601/558de55a1a28abef428b46f2/html5/thumbnails/4.jpg)
Its about the fields, baby
JIRA fields are the left-hand-side value
Many fields you have never been able to search before
Relate your fields data using the power of boolean operators
![Page 5: Charlie Talk - JQL In A Nutshell](https://reader034.vdocuments.net/reader034/viewer/2022052601/558de55a1a28abef428b46f2/html5/thumbnails/5.jpg)
Its about the fields, baby
JIRA fields are the left-hand-side value
Many fields you have never been able to search before
Relate your fields data using the power of boolean operators
![Page 6: Charlie Talk - JQL In A Nutshell](https://reader034.vdocuments.net/reader034/viewer/2022052601/558de55a1a28abef428b46f2/html5/thumbnails/6.jpg)
Its about the fields, baby
JIRA fields are the left-hand-side value
Many fields you have never been able to search before
Relate your fields data using the power of boolean operators
![Page 7: Charlie Talk - JQL In A Nutshell](https://reader034.vdocuments.net/reader034/viewer/2022052601/558de55a1a28abef428b46f2/html5/thumbnails/7.jpg)
Operators
Good old equals
Not equals
Relational operators
Operator ʻISʼ used for empty
![Page 8: Charlie Talk - JQL In A Nutshell](https://reader034.vdocuments.net/reader034/viewer/2022052601/558de55a1a28abef428b46f2/html5/thumbnails/8.jpg)
Operators
Good old equals
Not equals
Relational operators
Operator ʻISʼ used for empty
![Page 9: Charlie Talk - JQL In A Nutshell](https://reader034.vdocuments.net/reader034/viewer/2022052601/558de55a1a28abef428b46f2/html5/thumbnails/9.jpg)
Operators
Good old equals
Not equals
Relational operators
Operator ʻISʼ used for empty
![Page 10: Charlie Talk - JQL In A Nutshell](https://reader034.vdocuments.net/reader034/viewer/2022052601/558de55a1a28abef428b46f2/html5/thumbnails/10.jpg)
Operators
Good old equals
Not equals
Relational operators
Operator ʻISʼ used for empty
![Page 11: Charlie Talk - JQL In A Nutshell](https://reader034.vdocuments.net/reader034/viewer/2022052601/558de55a1a28abef428b46f2/html5/thumbnails/11.jpg)
Values
As forgiving as we can be
• Donʼt worry about case
• Cross-project searching with values by name
• Specify Idʼs when you really need to be specific
![Page 12: Charlie Talk - JQL In A Nutshell](https://reader034.vdocuments.net/reader034/viewer/2022052601/558de55a1a28abef428b46f2/html5/thumbnails/12.jpg)
Functions,The Power!
Tons of cool built in functions
Completely pluggable
Subqueries via a function
![Page 13: Charlie Talk - JQL In A Nutshell](https://reader034.vdocuments.net/reader034/viewer/2022052601/558de55a1a28abef428b46f2/html5/thumbnails/13.jpg)
Autocomplete
Because we are not evil
Completes:
• Field names you can see
• Operators
• Values (users, versions, components, etc...)
• Logical operators
![Page 14: Charlie Talk - JQL In A Nutshell](https://reader034.vdocuments.net/reader034/viewer/2022052601/558de55a1a28abef428b46f2/html5/thumbnails/14.jpg)
JQL Order By“Order By” is specified in the JQL query (ASC/DESC)
“Order By” is integrated with the UI controls
![Page 15: Charlie Talk - JQL In A Nutshell](https://reader034.vdocuments.net/reader034/viewer/2022052601/558de55a1a28abef428b46f2/html5/thumbnails/15.jpg)
Sexy APIʼsZone out here if you are not a developer
Query object is core of searching in JIRA
Builder for programatic creation of JQL
SearchService provides all searching needs in JIRA
Custom searchers allow for JQL extensions
![Page 16: Charlie Talk - JQL In A Nutshell](https://reader034.vdocuments.net/reader034/viewer/2022052601/558de55a1a28abef428b46f2/html5/thumbnails/16.jpg)
Summary
JQL provides an advanced and flexible way to find your data
JQL is easily extensible via functions and custom searchers
JQL allows you to search data you could not search before
Thanks to: Michael Tokar, Toby Rahilly, and Brenden Bain
![Page 17: Charlie Talk - JQL In A Nutshell](https://reader034.vdocuments.net/reader034/viewer/2022052601/558de55a1a28abef428b46f2/html5/thumbnails/17.jpg)
haveasec.com/summitSURVEY!!