Overview
This functionality allows users to filter Jira issues based on whether they have attachments or not. Users can search for issues that:
Have attachments (NOT EMPTY/NOT NULL)
Do not have attachments (EMPTY/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” IS NOT EMPTY
“customFieldName” IS EMPTY
“customFieldName” IS NULL
“customFieldName” IS NOT NULL
refer to the screenshoots below to uderstand the process: