English

Flexible JQL for Jira

55 JQL functions in the Jira search bar, filters, boards and automation.

Coming soon to the Atlassian Marketplace.

Example One JQL query, every level of an epic

issue in childrenOf("key = SHOP-100", "all")
KeyWork typeLevel under SHOP-100
SHOP-101StoryChild
SHOP-102StoryChild
SHOP-117SubtaskGrandchild
SHOP-130BugChild

Works in search, saved filters, boards and dashboards.

Example with illustrative keys: the epic's work items and their subtasks come back together.
Resources

JQL for the questions Jira’s built-in JQL cannot answer

Jira’s query language covers the basics. The questions teams actually ask go further: which stories still have open subtasks, which epics are ready to close, what was added after the sprint started, who changed a field last week, which issues were resolved after their due date. Flexible JQL answers them in JQL, in search, saved filters, boards, dashboards and automation rules.

Jira search showing childrenOf with depth all, returning epics, their children and subtasks in one list
Screenshot childrenOf with depth "all" returns every level of a hierarchy in Jira's own search. Demo data. The app interface is in English.

What you get

  • 55 JQL functions. Hierarchy, links, sprints, history, comments, work logs, text, dates, people, versions and components. Functions nest inside each other’s queries, with a depth limit and a cycle guard.
  • 64 searchable fields. Counts, dates and parent values such as fjSubtaskCount, fjParentStatus, fjLinkCount and fjLastCommentDate, filled in the background with no setup. Use them in filters, in ORDER BY and on boards, with no limit on the number of issues they match.
  • Sprint dates on every issue. Read-only Sprint start, Sprint end and Sprint complete fields, so you can sort, filter and add them as columns.
  • A query workbench. Find a function by name or by task, fill its arguments in a form, check the query in plain language with one-click fixes, run it, and see how Jira reached the answer.
  • A shared library. Save queries with a name, description and tags, keep them private or share them, turn any query into a Jira filter in one click, and start from 44 ready-made queries.
  • A query converter. Bring over queries written for another JQL app and get the Flexible JQL equivalent.
  • Results that stay fresh. Stored results refresh automatically when issues, links, comments, work logs or sprints change. A result that cannot be refreshed returns a clear error, never a silently outdated answer.
  • A workflow validator. “Work item matches JQL” allows or blocks a transition with any JQL, including Flexible JQL functions.
  • An admin page. Indexing health, settings, where each function is used, diagnostics without issue content, and a clean-up before uninstalling.
Jira search combining removedFromSprint and addedAfterSprintStart to list sprint scope changes
Screenshot Scope changes for one sprint in a single query. Demo data. The app interface is in English.

How it works

  1. Install Flexible JQL into your Jira Cloud site once it is listed on the Atlassian Marketplace.
  2. Start querying. Type a function in the Jira search bar, or open Apps, then Flexible JQL, to build and check a query in the workbench.
  3. Save and share. Keep the queries that matter in the Library and turn them into Jira filters for boards and dashboards.
Flexible JQL workbench with a childrenOf query, Check query, Run and Explain buttons, and a message that the query looks good
Screenshot The workbench checks a query in plain language before you run it. Demo data. The app interface is in English.

Where your data lives

Flexible JQL is built on Atlassian Forge. It Runs on Atlassian: it has no remote servers and sends no data outside Atlassian. Saved queries and settings stay in your installation’s own Forge storage, and the searchable fields live in one issue property per issue that holds counts, names and dates, never an account ID. Every person only gets back the issues their own Jira permissions allow. The privacy page and the security page cover the details, and the permissions it asks for are listed below.

Good to know

  • Functions that list issues return at most 1,000 of them. Above that they stop with an error that suggests a rewrite, never an empty list. Functions that return a condition, such as the parent, epic and subtask functions, have no such limit.
  • Jira delivers change events with a delay of up to about 3 minutes, so a change can take a few minutes to appear in a saved filter or board.
  • Team functions, pull request details and comment visibility keywords are not available, because Atlassian does not let apps read that data. The limits page lists the alternatives.
  • The interface is in English.

Availability and pricing

Flexible JQL is for Jira Cloud, not Data Center or Server. Coming soon to the Atlassian Marketplace. It is free for up to 10 users and, above that, billed per user through the Atlassian Marketplace. Prices are per user/month: $0.90 for 1 to 100 users, $0.60 for 101 to 250, $0.38 for 251 to 1,000 and $0.24 for 1,001 to 2,500. Annual billing is ten times the monthly price.

Permissions

Every permission the app asks for when you install it, and why.

ScopeWhy it is needed
read:jira-workRuns the searches behind each function, reads issue links, web links, comments, work logs and history, and validates the queries people type.
write:jira-workWrites the flexjql.v1 issue property that makes the fj fields searchable, and creates a Jira filter when a person asks for one.
read:sprint:jira-softwareLists the sprints of a board to resolve a sprint name and read its dates and state.
read:board-scope:jira-softwareFinds a board by name and lists Scrum boards for the sprint functions.
read:project:jiraRequired by Jira together with the board scope to list boards.
read:issue-details:jiraReads one board, its type and project, by its ID.
read:group:jiraReads the groups of a user for the groupsOf function only. The app does not search users.
storage:appStores saved queries, settings and the bookkeeping that keeps results fresh, in your installation's own app storage.
read:app-data:jiraReads the app's own stored function results, so it knows which ones to refresh.
write:app-data:jiraSends refreshed function results back to Jira when issues change.

Latest from the blog

All posts