Charlie Talk - JQL In A Nutshell

17
JQL JIRA Query Language Dylan Etkin, JIRA Technical Lead

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 Etkin

Transcript of Charlie Talk - JQL In A Nutshell

Page 1: Charlie Talk - JQL In A Nutshell

JQLJIRA Query Language

Dylan Etkin, JIRA Technical Lead

Page 2: Charlie Talk - JQL In A Nutshell

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

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

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

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

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

Operators

Good old equals

Not equals

Relational operators

Operator ʻISʼ used for empty

Page 8: Charlie Talk - JQL In A Nutshell

Operators

Good old equals

Not equals

Relational operators

Operator ʻISʼ used for empty

Page 9: Charlie Talk - JQL In A Nutshell

Operators

Good old equals

Not equals

Relational operators

Operator ʻISʼ used for empty

Page 10: Charlie Talk - JQL In A Nutshell

Operators

Good old equals

Not equals

Relational operators

Operator ʻISʼ used for empty

Page 11: Charlie Talk - JQL In A Nutshell

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

Functions,The Power!

Tons of cool built in functions

Completely pluggable

Subqueries via a function

Page 13: Charlie Talk - JQL In A Nutshell

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

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

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

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

haveasec.com/summitSURVEY!!