Problems with sending attachment via custom emails.

Hi! 

We are using JIRA custom emails for communication with customers and lately we have some problems with adding attachments to custom email.


We use "Include attachments = new", so attachment is added on transition.

And email template is "<% out << lastComment%>"

No "Custom attachment callback" is added


And the main problem is - this problem occurs randomly:

We have tried to find a pattern when sending attachments, and so far noticed:
- jpg and gif files are not delivered if send alone - sometimes delivered
- jpg and gif files are delivered if there is two attachments (.gif and .jpg)
- png, excel and pdf files are always delivered
- zip files are randomly delivered

 

 Have anybody else had this problem and what could be main reason for this and how to improve it?
JIRA version is 6.3.9, scrip runner plugin version is  3.0.7 and also we are using JIRA Sevice Desk  2.3.3

Thanks in advance! 

5 answers

@Jamie Echlin [Adaptavist] , maybe you could help us with this problem?

0 vote

Anything in the mail log? Your corporate SMTP server may be blocking certain types of attachments... I have worked with ones that look in zip files and won't deliver them if they contain any executable files, also including .bat, .reg, etc etc.

@Jamie Echlin [Adaptavist] , nothing in mail logs. They (IT department) checked Exchange server logs, and the attachments never arrive there. And also nothing in JIRA log files - nothing And problem occurs randomly - sometimes attachment is sent and sometimes it is not sent..

@Jamie Echlin [Adaptavist] , we have monitored mail Exchange logs for last month, but nothing appear there.. Maybe you have some more suggestions where could be problem?

We even had issue in which same attachment was sent two times - in first attempt it wasn't send and next day with we tried again and it was sent.

Suggest an answer

Log in or Sign up to answer
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Bridget Sauer
Published Apr 10, 2018 in Marketplace Apps

Learn about how Stefan K. built one of the *first ever* Marketplace apps

In this post you will discover more about the evolution of K15t software, some big topics they're currently focusing on in the app space, and a rare (not not funny!) photo of founders Mike Cannon-Bro...

12,803 views 11 24
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