Attachments
Summary
This section allows you to specify whether you would like attachments to be added to issues and allows you to specify attachment types that can and cannot be added to issues.
Configuration Options
Enable Attachments
When enabled, allows JEMH to process email attachments (requires Jira attachments to also be enabled)
Allowlisted Attachment Types (csv)
CSV list of file types that can be added to the issue. If the attachment is not one of these types then it will not be added.
Block Attachment Types (csv)
CSV list of files types that should not be added to the issue.
Blocklisted Attachment MimeTypes (csv)
Allows specific attachments identified as a given mime-type to be excluded.
Non Renamed Attachments (csv)
Allows nominated regular expression matches for filenames to NOT be renamed (could be applicable to specific files that are identified as image that are never inlined and need to retain the filename without -1, -2 being appended)
Add Email/original content to issue
If enabled, will create a ZIP wrapper containing the original content (text or HTML), and if selected, a full copy of the email (stored in neutral message/rfc822 EML text format).
Add Email to Issue Condition
Defines when to add the ZIP file that contains the original content. Current options are:
Never
On Create
On Comment
On Create and Comment
Add Original Email Body to Issue
Defines when to add a file to the issue that contains a the original email body content. Current options are:
Never
On Create
On Comment
On Create and Comment
Disable Zip Wrapper
Disables JEMH from putting the Zip Wrapper content onto the issue.
File Name Format - replacements
Create Name Format
Applicable to Issue Creation, this is a configurable format field for the ZIP, the EML part and the TEXT or HTML part. Variable replacements are applied.
Comment Name Format
Applicable to Issue Commenting, this is a configurable format field for the ZIP, the EML part and the TEXT or HTML part. Variable replacements are applied.
Add Embedded Atts
Add attachments from within message/rfc822 attached files that would otherwise remain in an attached .eml file.
Add Image Wiki Links
If enabled, adds a thumbnail image linking to the related attachment image, now attached to the issue.
Add File Wiki Links
If enabled, adds a download wiki link to files attached to the issue.