Email Notification is corrupted at certain transition
Platform notice: Server and Data Center only. This article only applies to Atlassian products on the Server and Data Center platforms.
Support for Server* products ended on February 15th 2024. If you are running a Server product, you can visit the Atlassian Server end of support announcement to review your migration options.
*Except Fisheye and Crucible
Problem
Email received from JIRA notification is corrupted
This can happened during any part of transition notification
- Create issue notification mail not corrupted
- Update issue notification mail is corrupted
Diagnosis
Diagnostic Steps
Get the user to provide .eml file from the corrupted email , follow how to generate the .eml from HERE
org.apache.velocity.exception.MethodInvocationException: Invocation of
method 'getIssueTypeIconUrl' in class com.atlassian.jira.mail.util.MailAttachmentsManagerImpl
threw exception java.lang.IllegalArgumentException: The resource path
[http://pubicons.missiondatalabs.com/recurring32.png] is not valid at templates/email/macros.vm[line
324, column 69] at
[http://pubicons.missiondatalabs.com/recurring32.png] is the image that is causing the problem.
Cause
JIRA can only support icons with size (16x16) at the moment, any icon larger than this size might leads to email getting corrupt.
Resolution
- Re-upload a valid icon (a 16x16 dimension icon is recommendable)