Charlie Talk - JQL In A Nutshell

Post on 27-Jun-2015

4,031 views 0 download

Tags:

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

JQLJIRA 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ʼ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

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

haveasec.com/summitSURVEY!!