Find Work items by Their Files (JQL)
The File Field is fully searchable in Advanced search (JQL). You can filter work items by whether anything is attached, how many files there are, what type they are, their file name, and their category — and each of these works like a built-in Jira field: it shows up in the JQL editor's suggestions, in saved filters and boards, and in automation conditions.
These searches cover the files people attach to the field. Reference documents are part of the field's configuration rather than its value, so they never appear in a JQL result.
What you can search
The field itself answers is anything attached at all?, and four search dimensions answer practical questions about the files that are attached:
| Search on | Answers | Type | Operators |
|---|---|---|---|
| the field itself | Is anything attached at all? | — | is EMPTY is not EMPTY |
FileCount | How many files are attached? | number | = != > >= < <= |
FileType | Is there a PDF / image / spreadsheet? | list | = != in not in |
FileName | Is there a file named like this? | text | ~ !~ |
Categories | Is there a file labeled Contract / Invoice? | list | = != in not in |
is EMPTY is the reliable way to find work items that are missing a required document: it matches whether the field was never filled in or its files were removed. FileType and Categories are lists, so a single work item can match several values at once (a work item with a PDF and an image matches both).

How a query looks
Every query follows the same pattern:
"Field name.Dimension" operator value
The examples below use the default name File Field. If your administrator named the field something else, use that name instead, for example "Signed Contract.FileCount" > 0.
The quotes go around the whole expression — field name, dot, and dimension together: "File Field.FileCount". Jira reads the field name and the dimension as one name, so quoting only the field name, as in "File Field".FileCount, doesn't work.
is EMPTY and is not EMPTY are the exception: they ask about the field as a whole, so they take no dot and no dimension — "File Field" is EMPTY.
For example, this query lists work items in a space that have fewer than three files attached:
project = FILE AND "File Field.FileCount" < 3

Common searches
Missing or complete evidence
Use is EMPTY to find work items that are missing a required document — for example, every open work item in a space with no file attached, a ready-made "missing evidence" audit:
project = COMP AND statusCategory != Done AND "File Field" is EMPTY
Its opposite, "File Field" is not EMPTY, lists the work items that do carry at least one file. This query is an audit after the fact — to stop the same gap from being created in the first place, add the workflow validator to the transition into Done, and the work item cannot get there without its files.
Work items emptied before 20 August 2026. Until that release, removing the last file from a field left behind an empty-but-present value. Those work items aren't matched by is EMPTY — they answer FileCount = 0 instead. Since a current version never saves that value again, "File Field.FileCount" = 0 is now exactly the query for "work items still carrying the old value":
"File Field.FileCount" = 0
To clear one, open the field for editing on the work item and save it. To cover both states in one filter while you work through the backlog:
"File Field" is EMPTY OR "File Field.FileCount" = 0
By file type
FileType groups files into broad families, so you write PDF instead of application/pdf, and every image lands under a single Image value:
"File Field.FileType" = "PDF"
The available families are:
| Value | Covers |
|---|---|
PDF | .pdf files |
Image | .png, .jpg, .jpeg, .gif, .webp and other images |
Word | Word documents — .docx, .doc |
Spreadsheet | Excel spreadsheets — .xlsx, .xls |
CSV | .csv files |
Text | plain text .txt files |
Archive | .zip archives |
Other | anything not recognized above |
By file name
FileName matches on the words in a file's name:
"File Field.FileName" ~ "invoice"
By category
If the field uses categories, search by the category name:
"File Field.Categories" = "Contract"
Use in filters, boards, and automation
Anything you can search, you can reuse:
- Saved filters and boards — save any of these queries as a filter to power a board, a dashboard gadget, or a column in a list view.
- Jira automation — the same expressions work as JQL conditions in automation rules. A common one: when a work item moves to Done and the field
is EMPTY, block the transition or add a comment about the missing document. Fieldify also provides its own automation actions, so a rule can fill the field as well as check it — see Use Fieldify in Jira Automation.

Good to know
- File-name search matches whole words.
FileName ~ "report"matches a file calledreport.pdf, but won't findreportinside a longer word. Search for complete words from the file name. - A word joined by a hyphen to a part with digits isn't a word on its own. Jira's search keeps the digits together with the word just before them, so a file called
invoice-2026-10.pdfis found by neitherFileName ~ "invoice"norFileName ~ "2026". Add an asterisk,FileName ~ "invoice*", or search for the full name with its extension. - Type accented letters as they appear in the name. Jira's search treats
éandeas different letters:FileName ~ "résumé"findsrésumé.pdf,FileName ~ "resume"doesn't. A letter typed on the keyboard also finds a name saved on a Mac, whereécan be stored aseplus a separate accent mark; the same word pasted from such a name doesn't, so type it. - In a list view or an export, the field shows its file names newest first, separated by
|, so a comma inside a file name never reads as two files. The separator doesn't change what a search finds. - A field keeps its old form until it is saved again. Until then its file names may be separated by commas, and a Mac's accented letters are found only in the form they were saved in.
- Older work items index after the field is saved again. Work items whose File Field hasn't been touched since these searches were turned on start matching
FileCountandFileTypequeries once the field is edited and saved again. - Ask for "nothing attached" with
is EMPTY, notFileCount = 0. A field with no files holds no value at all, so it has noFileCountto compare against —FileCount = 0matches only work items emptied before 20 August 2026, which still carry the old value.