Is it possible query jira issues which are having attachments?
The JQL Tricks Plugin (https://marketplace.atlassian.com/plugins/com.j-tricks%3Ajql-plugin) has a hasAttachments() function - but it's commercial...
Try number of attachments custom field that you can find in one of free plugins (Jira Toolkit mayhaps)
It looks like you're new here. Sign in or register to get started.