Email with missing attachments

This is a very short blog to report on something that one of my clients found. It seems important enough and hard enough to detect that it is worth making available to the Atlassian community.

My client suddenly found that emails with attachments were being processed without the attachments. They were seeing an error message: “No data found for attachment …”. The incoming email body was processed as expected but the attachments were missing.

My client realized, after we looked at logs and tried some tests with the inbox, that they had enabled a virus scanner that would not “release” the attachments into the inbox until the scan had completed. In the meantime, Jira would process the email in the inbox without the attachment content being scanned. This would lead to the attachment error.

The Jira administrators didn’t realize that this was happening until about a week after the change to the email scanner was made and only because users started to complain about missing attachments. By that time, the email scanner change was disconnected in their minds from the Jira behavior and it took longer to diagnose and address the problem.

Their solution was to change the scanning approach so that it doesn’t release any part of the email until the full scan is completed. This may not work for your particular scanner software or inbox setup. Nevertheless, I think that this information is important for my Jira administrator friends to be aware of.

A partial Jira solution would be for these kinds of email processing errors to be alerted to the system administrator and noted in the Jira logs when they happen. There was no log message and no indication of the problem except in the issues that had the missing attachments. A longer-term solution might allow a setting that could re-process an email when an initial processing error is found. Instead of creating the flawed issue, a second attempt could be made in the next email pass. If the error recurs, then it would be flagged to the system administrator.

Let me know if this is helpful information for your. What kinds of email processing problems have you experienced? Do you have a scanner implemented that has caused this kind of problem?

5 comments

Taranjeet Singh
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
September 1, 2020

@C_ Derek Fields Very useful information to be aware of!

M Amine
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
September 29, 2020

as an enhancement of this article, is would be good to follow the Atlassian template for troubleshooting articles : Purpose, Cause, Solution, Workaround ...etc.

Jim March 17, 2022

We have our own email to mask the jira@servicename.atlassian.com adress and mailing to that works well. If any attachment would be lost we can dig it out of our exchange.

But when our agents or clients respond to a Jira Servicedesk-distributed message the message never passes our exchange mail. And attached images are sometimes lost. 

Images pasted into the message body mostly works. But images as attachments onlys show like placeholder text. The images themselves never get through.

JiraMissingImageAttachment.PNG

Is there a way to locate the original message to jira@servicename.atlassian.com-adresses and dig out the lost attachments?

C_ Derek Fields
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
March 17, 2022

My article should have been explicit that this problem is related to internal inboxes, not the Atlassian provided inbox. If the Atlassian-provided inbox is losing attachments, you should contact Atlassian about this.

Jim May 8, 2022

I can't see how it excludes the "Atlassian inbox". But I'll make a new thread for it in that case.

Thanks!

Comment

Log in or Sign up to comment
TAGS
AUG Leaders

Atlassian Community Events