Why you may need the tweak. Jira Server/Data Center only

Sometimes Worklogs Report for Server/Data Center Jira’s fails to export the data to Excel. Cases are very few and typically happen on non-default Jira configurations or wih huge reports of 5,000+ issues.

This issue may be fixed by adjusting POST size.

Jira Server POST Size

Default value for POST size for Tomcat server (used by Jira) is 2097152 bytes (2MB). To increase you have to update server.xml file from Jira configuration. I.e. for default Linux distribution this file can be found in /opt/atlassian/jira/conf folder. You have to found Connector section and add maxPostSize attribute with large enough value (ie ‭10485760, that means 10MBand should be enought for report with 10k issues‬)

<Connector port="8080" ... maxPostSize="‭10485760"/>

See more: Apache Tomcat 8 Configuration Reference

Reverse Proxy

Also may be necessary to increase POST limit size in reverse proxy server. NGINX server has property client_max_body_size

server {
    listen      443 ssl;

    client_max_body_size 10M;

    location / {
        proxy_set_header X-Forwarded-Host $host;
        proxy_set_header X-Forwarded-Server $host;
        proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
        proxy_read_timeout 300s;
        proxy_pass http://localhost:8080;
    }
}

See more: NGINX Module ngx_http_core_module

Haven't found the answer?

Please let us know about it!

Contact us