/
Finding Attachment Statistic in Jira
Finding Attachment Statistic in Jira
MySQL / PostgreSQL
-- Find Attachment Statistic SELECT p.pkey, p.pname, EXTRACT(YEAR FROM f.created) yr, COUNT(f.id) AS "# of files", MIN(f.filesize)/1024 AS "min size (kb)", AVG(f.filesize)/1024 AS "average size(kb)", MAX(f.filesize)/1024 AS "max size(kb)", SUM(f.filesize)/(1024*1024) AS "total size(mb)" FROM fileattachment f, project p, jiraissue i WHERE f.issueid = i.id AND i.project = p.id GROUP BY p.pkey, p.pname, yr;
Sample Result
Related content
Finding Attachment Location
Finding Attachment Location
More like this
Finding No. Issues for every project
Finding No. Issues for every project
More like this
Find all Jira issue in Database
Find all Jira issue in Database
More like this
Finding Project Activity Level
Finding Project Activity Level
More like this
User Guide (Forge)
User Guide (Forge)
More like this
Release Notes for Issue Archiver for Jira 3.1.1/4.1.1
Release Notes for Issue Archiver for Jira 3.1.1/4.1.1
More like this