Is there a way to pull attachment data from JIRA

Hello

 

Is there a way to pull attachment data from JIRA such as date and time added and file name ?

 

Thank you

Mohammed

2 answers

0 vote

JIRA only has one function associated with attachments (attachments), and it only searches whether an issue has or has no attachments. However, there are plugins that do extend this ability:

  • JQL Tricks (limited, but has: hasAttachments([Count],[Operator]); attachedByUser([User]) :

http://www.j-tricks.com/jql-tricks-plugin.html

  • Script Runner (you can find out the file extension with this one: hasAttachments ([file extension]); fileAttached(attachment query) :

https://jamieechlin.atlassian.net/wiki/display/GRV/Scripted+JQL+Functions#ScriptedJQLFunctions-IssueLinks

  • Craftware Search Attachments for JIRA:

https://marketplace.atlassian.com/plugins/pl.craftware.jira.search-attachments-plugin

getAttachmentList from JIRA Command Line Interface (CLI) pulls information from JIRA into a csv file. Use together with runFromIssueList to get all attachments across multiple attachments. getAttachmentList shows the example output.

Suggest an answer

Log in or Sign up to answer
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Published Monday in Jira Software

How large do you think Jira Software can grow?

Hi Atlassian Community! My name is Shana, and I’m on the Jira Software team. One of the many reasons this Community exists is to connect you to others on similar product journeys or with comparabl...

654 views 6 12
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you