Search Attachment Name

Patrick Story 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
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 July 11, 2018

Nice!

Like Mark de Bont likes this
1 vote
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.

1 vote
Josh Loe 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