Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root


1 badge earned


Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!


Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.


Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!


Query for Total Attachment Size - JIRA

I am trying to find a MSSQL query to identify the total size of attachments in a Jira instance. Any insight appreciated. Thanks!

1 answer

1 accepted

1 vote
Answer accepted
Nic Brough -Adaptavist-
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
Jun 22, 2022

There is no way to do that.  SQL is the worst possible way to try to report on Jira data, and you've hit one of the thousands of reasons that it is that it is so bad.  The database doesn't bother to record that data.

Try running "du -d1 /<jira home>/attachments" on your Jira server, that will get you a starting number.

Suggest an answer

Log in or Sign up to answer
AUG Leaders

Atlassian Community Events