Forums

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

How to know attachment size in a project

Rasajna Meka
Contributor
October 20, 2022

I would like to know attachments size in Jira project or across entire Jira cloud instance

2 answers

0 votes
Rasajna Meka
Contributor
October 20, 2022

this is global setting but Im looking either project wise/instance wise total size of all attachements

Morgan DUBUISSON
Contributor
October 20, 2022

Hi,

A brutal method is API

  • /rest/api/3/search?jql=attachments%20is%20not%20EMPTY

https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-issue-search/#api-rest-api-3-search-get

  • Loop on all results
  • For each issue:
    /rest/api/3/issue/{ISSUE}
    • Find
      attachment list (size of item)

Do you know a programming language that can do scripting?

 

Best regards

Morgan DUBUISSON

0 votes
merve_duman
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!
October 20, 2022

Go to System > Advanced > Attachments Screen Shot 2022-10-20 at 14.11.34.png

Suggest an answer

Log in or Sign up to answer