I think it is not possible to do that from JQL. Jamie Echlin's script runner has an issue function that can help, also you can create a custom field to query.
Here is some info here:
https://answers.atlassian.com/questions/150331/jql-query-to-get-issues-with-attachments
Thanks Mehmet. I'd love a solution that non-admins could use.
How would the custom field work?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Sure Hazel. Admin would create a field called "Number of Attachments" and update them manually accordingly. Then you can query on those. Unfortunately, there is not a way to automatically filter/order issues by the number of attachments OOTB.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks. I haven't done anything with SQL queries yet, but looks like I'll need to give it a try.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.