Forum Discussion

mengbinhao's avatar
mengbinhao
Contributor
3 years ago

Unable post ZIP to JIRA

Hi There,

  I use Jira Object to post attachment to JIRA. I can post a txt file to JIRA successfully, but It posted fail when the attachment is a ZIP file. Some if error stack as below:

   I'm sure my script is right because txt upload successfully, Is JIRA Server side need to do anything to meet my requirement or Is there any other way I can post ZIP file to JIRA?

  Thanks in advanced.

The server http://192.168.90.179:8080 returned an error with code 500: 
<?xml version="1.0" encoding="UTF-8" standalone="yes"?><status><status-code>500</status-code><message>org.apache.commons.fileupload.FileUploadBase$IOFileUploadException: Processing of multipart/form-data request failed. Stream ended unexpectedly</message><stack-trace>java.lang.RuntimeException: org.apache.commons.fileupload.FileUploadBase$IOFileUploadException: Processing of multipart/form-data request failed. Stream ended unexpectedly&#xD;
...
</stack-trace></status>