Advanced JQL Functions: Enhance Jira Search with Powerful Capabilities and Smart Features

Advanced JQL Functions supercharges Jira search with 19 powerful functions that surpass JQL's native capabilities. It walks up and down issue hierarchies, pulls epics and their children, follows issue links, matches text with wildcards or regular expressions, compares date fields, queries sprints to detect scope creep, and matches issues against a user's group memberships all by typing a function into any Jira search box. Built natively on Atlassian Forge, so your data stays in the cloud, it adds a dedicated Advanced Search experience, saved filters that refresh automatically, and a job dashboard for large queries, with smart rate-limit handling and crash recovery working quietly behind the scenes. Whatever question you have about your issues, AJFF helps you ask it and get the answer in seconds.

Read the https://werare.atlassian.net/wiki/spaces/AJFF/pages/1220509697

 


🚀 Explore the docs

Guide

What's inside

Guide

What's inside

📖 User Guide

The full walkthrough of Search, Filters, Queue, and all 19 functions.

🔍 Search Page

Run queries, open results in Jira, and save filters.

🗂️ Filters Page

Manage, share, and auto-sync your saved filters.

⚙️ Queue Page

Track large background searches in real time.

🧮 Function Reference

Every function by category, with copy-paste examples.

🔤 Regex & Wildcard Cheat Sheet

Pattern rules, copy-paste regex and wildcard examples, and the limits that apply to text matching.

🛠️ Admin Guide

For Jira admins — access control, result and search limits, filter health, and data migration.

🩹 Troubleshooting & FAQ

Timeouts, stuck queue jobs, filters that don't sync, limit errors — and the answers to common questions.

📣 Release Notes

What's new, improved, and fixed in each update.

🧮 All 19 functions at a glance

Every function takes its seed JQL first and works with issue in … and issue not in …. Click a category for the full page with more examples. Coming from ScriptRunner Enhanced Search? The last column names the closest ScriptRunner for Jira Cloud function (≈ = same purpose, different signature or scope; — = no equivalent).

Function

Category

Example

ScriptRunner equivalent

Function

Category

Example

ScriptRunner equivalent

parentsOfIssuesInQuery("JQL")

Hierarchy

issue in parentsOfIssuesInQuery("project = ACME AND issuetype = Story")

parentsOf(…)

childrenOfIssuesInQuery("JQL")

Hierarchy

issue in childrenOfIssuesInQuery("project = ACME AND issuetype = Epic")

— (direct children only)

parentsOfIssuesInQueryRecursive("JQL")

Hierarchy

issue in parentsOfIssuesInQueryRecursive("assignee = currentUser()")

—

childrenOfIssuesInQueryRecursive("JQL")

Hierarchy

issue in childrenOfIssuesInQueryRecursive("key = ACME-1")

childrenOf(…)

epicsOfChildrenInQuery("JQL")

Epics

issue in epicsOfChildrenInQuery("assignee = currentUser() AND updated > -1d")

epicsOf(…)

childrenOfEpicsInQuery("JQL")

Epics

issue in childrenOfEpicsInQuery("resolution IS NOT EMPTY") AND resolution IS EMPTY

issuesInEpics(…)

parentsOfSubtasksInQuery("JQL")

Subtasks

issue in parentsOfSubtasksInQuery("status = 'To Do'") AND status = Done

parentsOf(…)

subtasksOfParentsInQuery("JQL")

Subtasks

issue in subtasksOfParentsInQuery("status = Done") AND status = 'To Do'

subtasksOf(…)

linkedIssuesOfQuery("JQL", "Link Type")

Links

issue in linkedIssuesOfQuery("project = ACME", "is blocked by")

linkedIssuesOf(…, linkType)

exactTextMatch("JQL", "Text")

Text

issue in exactTextMatch("project = ACME", "Database Connection Error")

≈ issueFieldExactMatch(…)

exactTextMatchCaseInsensitive("JQL", "Text")

Text

issue in exactTextMatchCaseInsensitive("project = ACME", "login failure")

≈ issueFieldExactMatch(…)

wildcardMatch("Field", "Pattern")

Text

issue in wildcardMatch("labels", "*critical*")

—

regex("JQL", "Field", "Regex")

Text

issue in regex("project = ACME", "summary", "^Task\s\d{3}$")

issueFieldMatch(…)

nextSprint("Board")

Agile

issue in nextSprint("Development Board")

nextSprint(…)

previousSprint("Board")

Agile

issue in previousSprint("QA Board")

previousSprint(…)

addedToSprintAfterStart("Board", "Sprint")

Agile

issue in addedToSprintAfterStart("Backend Team Board", "Sprint 12")

addedAfterSprintStart(…)

dateCompare("Field OP Field")

Field Comparison

issue in dateCompare("created >= duedate")

≈ dateCompare(…)

dateCompareIgnoreTime("Field OP Field")

Field Comparison

issue in dateCompareIgnoreTime("updated = resolved")

—

userInGroup("JQL", "Field ID", "User")

User

issue in userInGroup("project = ACME", "10123")

—

Notes for ScriptRunner users: argument order differs — ScriptRunner's dateCompare and the match functions take a subquery first, while AJF's dateCompare takes only the comparison expression and wildcardMatch takes no subquery at all. ScriptRunner's (?i) case-insensitive flag is not supported in regex; use [Ee]rror instead (see the Regex & Wildcard Cheat Sheet). Full details for every function: User Guide → Function Reference.

✨ Why teams use it

  • Hierarchy-aware search — jump between parents, children, epics, and subtasks, one level or recursively all the way through.

  • Powerful text matching — exact, case-insensitive, wildcard, and full regular-expression matching on any field.

  • Sprint intelligence — query the next or previous sprint and spot issues added after a sprint started.

  • Group-aware search — find the issues owned by any of a user's Jira groups, without naming those groups by hand.

  • No fixed issue limit — result sets above 5,000 issues are processed in a background queue instead of being truncated (up to 200,000 issues per result). Admins can optionally cap scans and results; both caps are off by default.

  • Saved filters, automated — share with the right people and schedule automatic syncs.

  • Dark mode — the app is theme-aware and follows your Jira light or dark appearance automatically.

  • Built on Atlassian Forge — your data stays inside Atlassian's cloud.

Subscription: Advanced JQL Functions is a paid Atlassian Marketplace app. An active Marketplace subscription (or free trial) is required to use the functions and app pages on a production Jira site.