Forums

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

Search Attachment Name

Patrick Story
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
July 10, 2018

I see a bunch of older threads with plugins that aren't available anymore. Is there a way to search for attachments in Jira? I have an attachment named xyz.sql, is there a way to find it by searching by xyz.sql, xyz, etc.?

3 answers

2 votes
Darrel Lee April 24, 2023

Here a kludge.    Perform a normal query that will get you in the ballpark (PROJECT, STATUS, etc).   Then use export to XML.  Select XML from the export drop down and right click XML (save link as).   Save the file someplace.   It's XML with the body of all the ISSUES that match the initial query.   You can search for the attachment in the XML.   Each issue is an item.  each item has an attachments section.

 

 <attachments>
<attachment id="42917" name="some_image.PNG" size="32776" author="king" created="" />
<attachment id="42916" name="another_image.PNG" size="19264" author="king" />
</attachments>

You can retrieve the attachment with the rest appi

https://your.server/jira/secure/attachment/42916/

The issue key is in the title section for the item.

Hannes March 6, 2025

nice! thank you for this! :-)

2 votes
Payne
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
July 11, 2018
Josh Loe
Contributor
July 11, 2018

Nice!

Like Mark de Bont likes this
1 vote
Josh Loe
Contributor
July 10, 2018

Patrick,

There was a feature request for this, however it was closed back in February.  After searching a few of the mentioned addons, there does not be one available for JIRA Cloud, only the Server product.  It does not look like there is a way to do this in JIRA Cloud yet, so your only option would be to move to Server if this is something that is needed.

 

One thing you might want to do is to view the addon providers that posted in the feature request and contact them through their marketplace page asking them if they plan on releasing a Cloud version.  

 

- Josh Loe

Suggest an answer

Log in or Sign up to answer
TAGS
atlassian, atlassian government cloud, fedramp, webinar, register for webinar, atlassian cloud webinar, fedramp moderate offering, work faster with cloud

Unlocking the future with Atlassian Government Cloud ☁️

Atlassian Government Cloud has achieved FedRAMP Authorization at the Moderate level! Join our webinar to learn how you can accelerate mission success and move work forward faster in cloud, all while ensuring your critical data is secure.

Register Now
AUG Leaders

Atlassian Community Events