Uploaded image for project: 'Jira Cloud'
  1. Jira Cloud
  2. JRACLOUD-77201

Exporting issues as CSV from a long query fails with error HTTP 400 Bad Request

    XMLWordPrintable

Details

    Description

      Issue Summary

      When trying to export a list of issues from a very long query it fails with the error HTTP 400 Bad Request.

      Steps to Reproduce

      1. Search with a heavy amount of fields. In this case, we had over 80 labels, and 26 other clauses.
      2. Try to export as CSV (excel)

      Expected Results

      Should generate a file.

      Actual Results

      The below exception is displayed on screen:

      java.lang.IllegalArgumentException: Request header is too large
      	org.apache.coyote.http11.Http11InputBuffer.fill(Http11InputBuffer.java:766)
      	org.apache.coyote.http11.Http11InputBuffer.parseHeader(Http11InputBuffer.java:921)
      	org.apache.coyote.http11.Http11InputBuffer.parseHeaders(Http11InputBuffer.java:594)
      	org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:283)
      	org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:65)
      	org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:868)
      	org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1590)
      	org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)
      	java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
      	java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
      	org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
      	java.lang.Thread.run(Thread.java:748)

      Workaround

      Saving the query as a filter enables the export.

      Attachments

        Issue Links

          Activity

            People

              kyu@atlassian.com Kevin Yu
              a1bcd9769b94 Lukas Lampert
              Votes:
              18 Vote for this issue
              Watchers:
              19 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: