Jira Server 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!

Just create a ticket, and we'll contact you ASAP

Create a ticket