Jql example
- User
Jql example
Assistant
Other models, same or similar prompt
Responses were produced in different, uncontrolled contexts (system prompts, settings, prior turns). This is not a benchmark.
Jql example
Responses were produced in different, uncontrolled contexts (system prompts, settings, prior turns). This is not a benchmark.
Jira Query Language (JQL) allows users to create precise searches using fields, operators, values, and keywords. Here are key examples and use cases:
Filter by project and status
project = "Marketing" AND status = "In Progress"
Returns all in-progress issues in the Marketing project[5][7].
Find issues assigned to the current user
assignee = currentUser()
Lists issues assigned to the logged-in user[3][6].
Search for unresolved bugs
issuetype = Bug AND resolution = Unresolved
Shows all open bugs[6][9].
Combine multiple conditions with OR
(project = Lima AND status = Unresolved) OR (project = Alpha AND priority = High)
Returns unresolved Lima issues or high-priority Alpha issues[1][5].
Date-based filtering
created >= -7d ORDER BY created DESC
Lists issues created in the last week, sorted newest first[5][6].
Text search in descriptions
description ~ "investigation" OR labels = investigation
Finds issues with "investigation" in the description or label[1][9].
Nested clauses with parentheses
project = Dublin AND
(description ~ "investigate" OR labels = investigation)
Ensures results are limited to the Dublin project while checking description or labels[1][2].
Date functions for dynamic ranges
updated >= startOfWeek(-2) AND updated <= endOfWeek(-1)
Filters issues updated between the start of two weeks ago and end of last week[1][3].
Complex priority and version logic
priority IN (High, Critical) AND
(fixVersion IN ("v1.0", "v2.0") OR status CHANGED AFTER -3d)
Combines version and status-change conditions[2][5].
Linked issues
issueFunction in linkedIssuesOf("status = 'To Do'", "blocks")
Finds unresolved issues blocked by "To Do" tasks[4][9].
Epic-related queries
issueFunction in issuesInEpics("project = Mobile")
Lists all issues in epics under the Mobile project[4].
Time tracking
issueFunction in expression("", "timespent > originalestimate")
Identifies issues where logged time exceeds estimates[4].
For more dynamic queries, use JQL autocomplete and syntax hints in Jira’s advanced search interface[7][8]. Parentheses are critical for controlling logic flow in multi-clause queries[1][2][9].