Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

how to search by attachment file name from JQL

Anton Sivolap August 4, 2021

I need to find issue with attacment name for exampl "logo.png"  

but find only query to find by fileextention like this:

issueFunction in hasAttachments ("png")

2 answers

1 vote
Daniel Turczanski - JQL Search Extensions
Atlassian Partner
August 5, 2021 edited


Hi,

Standard JQL doesn't easily allow it but the results can be quickly found using our professional indexing service:

After you install the app you can simply search:

attachmentName ~ "logo.png"

You may want to check out the docs as well.

I hope this helps!

Daniel

0 votes
Mohamed Benziane
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
August 4, 2021

You can try this add on

https://community.atlassian.com/t5/Jira-questions/Search-Attachment-Name/qaq-p/841145

Or you can create a customfield with scriptrunner that copy the attachment file name and query this field

https://community.atlassian.com/t5/Jira-questions/Search-by-attachment-name-from-JQL/qaq-p/1249498

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
FREE
PERMISSIONS LEVEL
Product Admin
TAGS
AUG Leaders

Atlassian Community Events