Jira Creating An Issue From an Email with a .zip attachment

Hi, we are using JIRA 6.3.10.  I'm trying to set up a mail handler to automatically create emails when received in an outlook email account.

It is working well but have come across an issue with an email which contained both a .xlsx file and a .zip file. The Issue was created in JIRA but without the attachments.  An automated comment was added to the issue by Anonymous - "An error occurred while adding attachments to this issue from the source email. Please check the attachments and re-send the email".

The problem seems to be the.zip file.  I tried sending the email again but without the zip file and the issue created fine with the xlsx attached.  I was able to then manually attach the zip file.  

I tried sending the email with only the zip file and once again an issue was created minus the attachment but with the Anonymous ocmment added again.

Any ideas how I can configure so that the zip file is attached via the create from email route.

2 answers


I'd suggest you make sure JIRA is rejecting ZIP file. In my case, mail server was rejecting .ZIP, so JIRA was filtering an email without attachment.

I hope be useful.

Thanks for your response.  It's definitely JIRA as I can see the email in the inbox with the attachments prior to JIRA knowing it's there.  As soon as JIRA picks it up the issue is created (minus attachment) and the email then gets deleted (as expected).

Could you see a warning or error in log? Maybe the reason is attachment size. Is it happen with any size? I'd suggest you check attachment maximum size: https://confluence.atlassian.com/doc/configuring-attachment-size-150040.html

I hope be useful.


I'm apologizing for answering to an old toppic like this, but I'm experiencing the same problem here and wasn't able to find a sulution until now.

- its definitely only the zip files that cannot be attached and are causing the problem

- the zip file ist definitely included in the mail and it's definitely JIRA and not the mail server thats rejecting/not processing the file, as I can see the email in the inbox with the attachments prior to JIRA knowing it's there (like David was already mentioning)

 - the mail handler log doesnt list any error regarding this, its only listing the referring email as processed sucessfully.

Did someone come up with a solution for this?
Any help greatly appreciated.


Hi Maria,

What about the size of the files? There is an attachment maximum size.

Best regards

Hi Raquel,

no, it's really small files (usually about 30 kB).
Any other ideas on this?

Thank you.


Hi Maria,

I gonna try to help you with some questions, a link with interesting tips and an alternative.

Have you tried ...?

- ... an email with another type of attachments?

- ... an email with a .zip file and another type of file? Does it only include one file?

- ... an email with a .zip file generated by you?

- ... to update the plugin Jira Mail?

Link with tips about attachments: https://confluence.atlassian.com/adminjiraserver071/configuring-file-attachments-802593126.html

As an alternative, create your own mail handler: https://developer.atlassian.com/server/jira/platform/creating-a-custom-mail-handler-for-jira/

Best regards

Suggest an answer

Log in or Sign up to answer
Community showcase
Published Nov 27, 2018 in Portfolio for Jira

Introducing a new planning experience in Portfolio for Jira (Server/DC)

In the past, Portfolio for Jira required a high degree of detail–foresight that was unrealistic for many businesses to   have–in   order to produce a reliable long-term roadmap. We're tur...

2,888 views 19 22
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you