Search JIRA like a boss with JQL Atlassian Support Atlassian Documentation
This page describes information about functions that are used for advanced searching. The majority of BigPicture modules support Jira’s advanced search capabilities. https://deveducation.com/ Naturally, the level of complexity of the query is up to you. In the image below, the search focuses on open bugs that have been marked as high-priority.

Going back from a filtered list to a complete set of information is a one-click process. And if you have a set of queries you use regularly, BigPicture allows you to use them as pre-made filters. jql queries examples That way, finding exactly what you’re looking for takes even less time. Jira’s database query language contains several key elements. Each one plays a different role in building Jira queries.
What is JQL advanced search?
For example, it is not possible to do something like myFunction(currentUser()). First, while you’re looking for a specific detail in Jira, you’ve to start from the ‘search’ bar. Before we move onto the process of creating JQL queries, you’ll have to first understand the types of searches in Jira. Every issue will have a unique project name, issue key, assignee, status, time taken, and so on.
- The Request Type key cannot be changed once the Request Type is created.
- The most popular examples of fields include status, assignee, and priority.
- Returns issues whose SLA clock is at a certain point relative to the goal.
- With ScriptRunner you can also not only use more JQL values but create your own as well.
- In the above example both diagrams have the same number of issues we care about (issues with A on them) but the first query isn’t specific enough.
You can even create custom software that runs SQL queries to retrieve data and presents it in intuitive ways. The JqlFunction.getDataType method is called to determine the type of data the function returns. The value tells Jira which JQL clauses the function can be expected to work with. For example, returning
JiraDataTypes.VERSION
indicates that the function should only be used with clauses that work with Jira versions. You can return JiraDataTypes.ALL if you wish the function to be available across all JQL conditions. Jira text-search syntax can be used with custom fields of type ‘Text’.
How do I create a query in Jira?
The custom JQL function class must implement the
com.atlassian.jira.plugin.jql.function.JqlFunction interface, or extend a class that does. JQL functions can only provide values to a query; most importantly, they cannot be used to process the results. 5) Keyword – Words/phrases that add specific conditions to your queries. And, or, not, empty, null, order by, is and more can be counted as keywords. 3) Value – Information in a given field for a particular search. For example, as you search with an assignee, issues allocated to that particular assignee appear on the board.
The QueryCreationContext.isSecurityOverriden method indicates whether
or not this function should actually perform security checks. The TerminalClause
is Jira’s representation of the JQL condition we validate. For functions it represents a JQL condition of the form name operator function(arg1, arg2, …, argn).

Leave a Reply