Overview
This functionality allows users to filter Jira issues based on the filenames also you can filter issues whether they have attachments or not.
Users can search for issues that:
Using filename
Do not have attachments (EMPTY/NULL)
Have attachments (NOT EMPTY/NOT NULL)
Usage
first you should go to issues->Custom fields->your attach file custom field->Edit details->Search Template-> choose Text searcher then save or update.
Navigate to the Issue Navigator in Jira.
Open the Advanced Search (JQL Mode).
The following JQL queries can be used:
“customFieldName” ~ “filename“
“customFieldName” IS NOT EMPTY
“customFieldName” IS EMPTY
“customFieldName” IS NULL
“customFieldName” IS NOT NULL
refer to the screenshoots below to uderstand the process: