I know there is a JQL query to find how many issues in a project have attachments.
(project = "Project Name" AND attachments IS NOT Empty)
I was wondering if there was a way to instead show exactly how many attachments there are. Or a way to query just for attachments.
There exists a free add-on that includes a custom field of "Number of Attachments" that may work for you.
https://marketplace.atlassian.com/apps/5142/toolkit-plugin-for-jira?hosting=server&tab=overview
It can be used to find issues with a certain number of attachments, e.g.
project = BR and "Number of Attachments" > 0
and it can also be included as a column in the result set.
Thank you very much. I was able to download the plugin and include the number of attachments field on my issues. However, when I try to create a JQL query like yours I am not getting any results. It says there are no issues that match it even though I have issues that have attachments.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
A re-index will solve that problem. See step 6 in their documentation at https://ecosystem.atlassian.net/wiki/spaces/JTOOL/overview
Cheers,
Payne
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.