Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.
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...
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 bef...
Its about the fields, baby

 JIRA fields are the left-hand-
 side value

 Many fields you have never
 been able to search bef...
Its about the fields, baby

 JIRA fields are the left-hand-
 side value

 Many fields you have never
 been able to search bef...
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

•   Spe...
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...
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
cr...
Summary
JQL provides an advanced and flexible way to find your
data

JQL is easily extensible via functions and custom
searc...
haveasec.com/summit
       SURVEY!!
Upcoming SlideShare
Loading in …5
×

Charlie Talk - JQL In A Nutshell

4,706 views

Published on

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 Etkin

Published in: Technology
  • Dating direct: ♥♥♥ http://bit.ly/2F7hN3u ♥♥♥
       Reply 
    Are you sure you want to  Yes  No
    Your message goes here
  • Sex in your area is here: ❶❶❶ http://bit.ly/2F7hN3u ❶❶❶
       Reply 
    Are you sure you want to  Yes  No
    Your message goes here
  • Be the first to like this

Charlie Talk - JQL In A Nutshell

  1. 1. JQL JIRA Query Language Dylan Etkin, JIRA Technical Lead
  2. 2. 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
  3. 3. The elusive issue Support wants to know if you know anything about weird problem X What do we know about the issue?
  4. 4. 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
  5. 5. 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
  6. 6. 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
  7. 7. Operators Good old equals Not equals Relational operators Operator ʻISʼ used for empty
  8. 8. Operators Good old equals Not equals Relational operators Operator ʻISʼ used for empty
  9. 9. Operators Good old equals Not equals Relational operators Operator ʻISʼ used for empty
  10. 10. Operators Good old equals Not equals Relational operators Operator ʻISʼ used for empty
  11. 11. 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
  12. 12. Functions,The Power! Tons of cool built in functions Completely pluggable Subqueries via a function
  13. 13. Autocomplete Because we are not evil Completes: • Field names you can see • Operators • Values (users, versions, components, etc...) • Logical operators
  14. 14. JQL Order By “Order By” is specified in the JQL query (ASC/DESC) “Order By” is integrated with the UI controls
  15. 15. 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
  16. 16. 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
  17. 17. haveasec.com/summit SURVEY!!

×