JQL Blocks for Jira – User Guide
JQL Blocks step by step with screenshots: build Jira searches from blocks with AND, OR and NOT, see sprint dates, save and share searches, find comments.
JQL Blocks lets you build a Jira search without writing code. You click blocks, like building with bricks: “Sprint is open”, “Status is not Done”, “Project is Mobile”. JQL Blocks writes the JQL for you and explains it in a sentence. It also adds sprint dates to Jira and searches inside comments.
How to read the pictures. Every screenshot comes from a real Jira site. The red boxes with numbers show where to look or click. Number 1 in the picture is step 1 in the text, number 2 is step 2, and so on.
Get started in 2 minutes
- Install JQL Blocks from the Atlassian Marketplace. You need to be a Jira admin. It is free for up to 10 users. The sprint fields start filling at once.
- Open it: Apps → JQL Blocks, or the JQL Blocks tab in a project (it starts with that project).
- Click Ready-made → Sprint ended, still open, or type
"Sprint end date" < now() AND statusCategory != Doneinto Start from JQL or a filter link and press Build blocks. - Press Show results. Save search keeps it under your searches; Save as Jira filter makes it a Jira filter.
Build a search from blocks
The page has three columns. Here is what each one is for:
- Open Apps → JQL Blocks in Jira’s left menu.
- The block list on the left. Every block is one condition: a project, a status, a person, a date, a sprint.
- Your search in the middle. Click a block in the list and it lands here. Each block has values (the tags with ×) and + Add to add more.
- The JQL on the right. It changes with every click, and under it a sentence says the search in plain words.
More about blocks:
- Blocks: Project, Type, Labels, Components; Status, Status category, Priority; Assignee, Reporter, Any user (assignee, reporter or creator); Created, Updated, Due; Sprint, Sprint start date, Sprint end date, Sprint complete date, During a sprint; Text, JQL text; and Your fields, your site’s list, number and date fields. Click a block to add it at the end, or drag it to a place. Find a block filters the list.
- Values: each value is a tag with ×. + Add opens the list (type to search). People can be chosen by name or as Me. Dates take on, before, after, between, in the last N days, this week, this month, last month, already past, still to come, or empty.
- The ⋯ menu of a block or group does every move without dragging: Move up, Move down, Into group, Out of group, Wrap in a new group, NOT on or off, Remove.
- Undo (Ctrl+Z) steps back through the last changes.
A search holds up to 50 blocks, groups five levels deep and 100 values per block.
AND, OR and NOT
- Find issues that match sets every joint at once: all of these (AND) or any of these (OR). Each small AND label between two blocks can also be clicked on its own to switch it to OR.
- The JQL follows at once. AND joins first, then OR, and the JQL shows the brackets this means.
- Here a Project block was added: project is Mobile Dev.
- NOT turns a block around. Red means it is on: “Status category is Done” becomes “is not Done”. For fields that can be empty (labels, components, assignee, reporter, due date, sprint and the sprint dates) the empty issues are kept: NOT Labels = legacy also finds issues without labels.
- Hover a block to see its part of the JQL highlighted.
Groups are brackets: drop one block on another to make an any-of-these (OR) group, or use Group from the list. Drag a block back onto the list to remove it.
Results
Press Show results. The issues appear right under the blocks, 50 at a time with Load more. The search runs as you, and nothing is saved.
- The sprint dates are columns: Sprint start date, Sprint end date, Sprint complete date.
- Days left in the sprint counts from the sprint’s end date. Below zero the sprint is over and the issue is still in it (“926 days late”).
- Danger zone: see the next picture.
- Export CSV: the loaded rows, or all of them up to 1,000. The file is made in your browser.
Click a column header to sort. Columns chooses what you see, your own fields included; the choice is kept for you. When the blocks change, Refresh runs them again.
- Turn on Danger zone.
- Only the issues with more story points left than days left in their sprint stay. These will not fit the sprint.
Start from JQL or a filter link
Already have JQL? You can turn it into blocks.
- Paste JQL, a link to a Jira filter or its number into Start from JQL or a filter link. JQL from Ask Rovo works too.
- Press Build blocks.
- You see what the JQL means first. Use these blocks fills an empty search, or adds them as one group to the search you have.
Parts no block covers stay as JQL text blocks; Jira’s parser checks them before a search uses them. An ORDER BY is not a condition, so no block keeps it: the box says so, and you sort the results by a column.
Ready-made searches
Ready-made in the block list: Carried over, not done; Sprint ends this week, not started; My open issues in the active sprint; Updated in the last 7 days; Sprint ended, still open; Sprints of the last 90 days. On an empty search one fills it; otherwise it is added as one group to edit.
Save and share a search
- Press Save search and give it a name.
- My searches finds, opens, renames and deletes your searches (with Undo). New empty search starts again.
- Share puts a search under Shared with the team for everyone on the site who uses JQL Blocks. Each person searches as themselves, and only you change or remove your shared searches.
The page opens with the search you had last.
Copy the JQL or save a Jira filter
Under the JQL: Copy JQL, Open in Jira search, or Save as Jira filter. A filter gets a name and an optional description and is saved as you; others see it as your Jira shares new filters. Later changes to the blocks do not change a saved filter.
The JQL is Jira’s own, never a list of issue keys, so it works the same in filters, boards, dashboards and Automation.
Find comments
Sometimes you remember what someone wrote, not which issue it was. Then search the comments.
- Click Find: Comments at the top.
- Type the words in Words in the comment. You can narrow it by Where I commented, Where I’m mentioned, Author and a period.
- Press Find comments.
- Each comment shows its author, date and issue, with your words marked. Open the comment jumps to it.
In issues chooses where to look: all issues, or only the search on the Issues tab (Edit on the Issues tab changes it). The comments are read as you, so you only find what you may see. Each search runs about 15 seconds; Search more goes on. Sort by Newest or Oldest.
Sprint date fields
JQL Blocks adds six read-only fields to every issue that is or was in a sprint:
| Field | Holds | Example |
|---|---|---|
| Sprint start date | when the issue’s sprint started (a future sprint: its planned start) | "Sprint start date" >= startOfMonth() |
| Sprint end date | the sprint’s planned end | "Sprint end date" < now() AND statusCategory != Done |
| Sprint complete date | when that sprint was completed; empty while it is open | "Sprint complete date" >= -14d |
| Sprint count | how many sprints the issue has been in | "Sprint count" > 1 (carried over) |
| Sprint state | active, future or closed | "Sprint state" = active |
| Added after sprint start | “Yes” when the issue joined its sprint after it started (from install on) | "Added after sprint start" = Yes |
Use them in Jira’s own search
- The fields and functions work in Jira’s normal search, without opening JQL Blocks. Type them in JQL mode.
issue in sprintEndsBetween("2026-11-01", "2026-11-30"): issues whose sprint ends between two days.issue in addedAfterSprintStart(): issues added to their sprint after it started.
Where else to use them: as columns in the list view and filter results; on board cards (Board settings → Card layout); on the issue view once a Jira admin adds them to the project’s screens. Nobody can edit them by hand. Only JQL Blocks writes them, and writing a value adds no line to the issue’s history.
Which sprint: the active sprint the issue is in; if none, the next future sprint; if it is in no open sprint, the closed sprint completed last. A Jira admin can switch this to the first sprint.
The dates are date and time; each person sees them in their own time zone. To search by day: "Sprint end date" >= "2026-11-23" AND "Sprint end date" < "2026-11-24". The date blocks write this for you.
When the fields are filled
Once after the install, about 1,200 issues a minute (the admin page shows the progress). Then by themselves when a sprint starts, changes its dates, closes or is deleted, and when an issue moves between sprints, usually within a minute. Every night a check fixes anything a missed change left behind.
The admin page (Jira admins)
- Jira settings → Apps → JQL Blocks.
- The green box says if every issue in a sprint has its dates. Health check shows the same as a number.
- Sprint date fields: each field with its JQL name and a switch. Switching a field off empties its values. Dates come from: the current sprint or the first sprint.
Also on this page: Sync, the last run, with Recalculate (reads every issue in a sprint again; right values are not rewritten), Cancel and Try again; and Automatic updates, the last update after a sprint change and the last problem with what to do.
- Ready searches show how to use the fields in JQL. Copy one, or Open in Jira to run it.
During a sprint
The During a sprint block finds issues created, resolved or that changed status during a board’s current sprint, previous sprint, or last N closed sprints.
- Add the During a sprint block from the Sprints part of the block list.
- Pick the board (boards with sprints only).
- Pick what happened (created, resolved, changed status) and which sprint.
The block shows the days it means (“today that is 9 Nov – 23 Nov”). JQL cannot follow a sprint by itself, so the block writes the sprint’s days into the JQL; a Jira filter saved from it keeps those days.
Licence
JQL Blocks is free for sites with up to 10 users; larger sites pay per user through the Atlassian Marketplace after a 30-day trial. Without an active licence the app stops: its pages say JQL Blocks needs a licence on this site, the sprint fields are no longer updated (their values stay), and the JQL functions find nothing. A site admin renews it in Admin → Apps → Manage apps.
Privacy and data
Searches and comments are read as you and never stored. The app keeps your saved searches, last search and chosen columns, the searches shared with your team, the admin’s settings and the sync’s progress, inside your Atlassian site; the data of closed accounts is deleted every night. See the privacy policy.