Charlie Talk - JQL In A Nutshell - Presentation Transcript
JQL
JIRA Query Language
Dylan Etkin, JIRA Technical Lead
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
The elusive issue
Support wants to know if
you know anything about
weird problem X
What do we know about
the issue?
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
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
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
Operators
Good old equals
Not equals
Relational operators
Operator ʻISʼ used for
empty
Operators
Good old equals
Not equals
Relational operators
Operator ʻISʼ used for
empty
Operators
Good old equals
Not equals
Relational operators
Operator ʻISʼ used for
empty
Operators
Good old equals
Not equals
Relational operators
Operator ʻISʼ used for
empty
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
Functions,The Power!
Tons of cool built in
functions
Completely pluggable
Subqueries via a function
Autocomplete
Because we are not evil
Completes:
• Field names you can see
• Operators
• Values (users, versions,
components, etc...)
• Logical operators
JQL Order By
“Order By” is specified in the
JQL query (ASC/DESC)
“Order By” is integrated with
the UI controls
Sexy APIʼs
Zone 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
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
0 comments
Post a comment