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.

1 answer

Hi,

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.

Suggest an answer

Log in or Join to answer
Community showcase
Sarah Schuster
Posted Jan 29, 2018 in Jira

What are common themes you've seen across successful & failed Jira Software implementations?

Hey everyone! My name is Sarah Schuster, and I'm a Customer Success Manager in Atlassian specializing in Jira Software Cloud. Over the next few weeks I will be posting discussion topics (8 total) to ...

2,861 views 12 18
Join discussion

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
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot