Forums

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

How to search specific value on all attachments metadata fields

David Tordera May 26, 2023

We need to found some data on attachments metadata, but without knowing previously neither filename, neither issue. In fact, it is precisely to locate the issue which contains an attachment with that metadata.

So, we check out that Jira Database (>9.0) got a table fileattachments, but there's nothing related to it's metadata; neither appears anything on /var/altassian/jira/data/attachments/(...)

Is there then a way to make a full search for a value on attachmentsmetadata fields?

Thanks you!

1 answer

1 accepted

0 votes
Answer accepted
Fabio Racobaldo _Herzum_
Community Champion
May 28, 2023

Hi @David Tordera and welcome,

what specific metadata are you looking for? fileattachment table contains all information about a specific attachment.

Fabio

David Tordera May 29, 2023

Hello Fabio,

I've got these fields on Attachments Metadata interface:

image.png

But got those ones on FileAttachment Jira (>9.0 DB) table:

image.png

 

So I don't know how to relate first ones to second ones. My task is, by a bulk search on DB or whatever mean, finding which attachments got, for example, property SignedBy with the value TestMetadataSigned, without knowing the issue (in fact is all task is required to find the related issues), but I'm unable to find that value on any database table that I know nowadays,

 

Please let me know,

Thanks!

Best regards,

Fabio Racobaldo _Herzum_
Community Champion
May 29, 2023

Hey @David Tordera ,

so you are referring to Confluence instance but your DB query is referring to a JIRA instance. Probably Attachment Metadata page is provided by a third part app. Please could you provide more information about that app?

Fabio

David Tordera May 29, 2023

Ok, I see. Thanks! It is very possible that those metadata labels were introduced by a plugin, Smart Attachments, and not by Jira itself.

Thanks again, Fabio, will investigate with the plugin support.

Best regards,

Fabio Racobaldo _Herzum_
Community Champion
May 29, 2023

you're welcome @David Tordera . My suggestion is to take a look to System -> Plugin Data Storage to find Smart Attachments tables ;) and please mark my answer as accepted if it solved your question

David Tordera May 29, 2023

Ohhh, ty!

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events