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
TAGS
atlassian, aafp, jira migration, marketing collaboration, end siloed work, streamline workflows, kerrie gottschalk, jira cloud admins, unified marketing, process visibility, team efficiency, cross-team collaboration

How Kerrie Gottschalk unified AAFP’s marketing team with Jira

At the American Academy of Family Physicians, siloed marketing teams faced delays and duplicate work. Kerrie Gottschalk shook things up by moving the department to Jira, streamlining processes, boosting visibility, and sparking stronger collaboration.

Read the story
AUG Leaders

Atlassian Community Events