Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Auto Forward Emails With Attachments

Casey Hale September 4, 2025

Hi there, 

Is there a way to auto forward an email received in Jira to an external email address. I know there is an automation rule that can forward with the summary and description but can it also forward any attachments received?

2 answers

2 accepted

Casey Hale September 17, 2025

Hi Trudy, 

Thank you for this information. I found that this particular answer was not right for what I was looking to set up in my automation rule. 

I did find this useful though as I was able to find a work around to this problem.

The goal was to auto forward a received email with attachments that met certain criteria (if and or) to another email address. The issue was that there is no way to forward the actual email at a Jira level. This can be set up at an exchange level but was more complicated. I have found though that using the Send Customised Email function within the automation rule with the following Json code gave me the ability to forward the email with the attachment as a link. 

Another issue I wan into was the email format was not in HTML so it did not display correctly. Adding on .html to the code solved this issue. Please see my notes for a work around:

Screenshot 2025-09-18 091623.png

 

Like Trudy Claspill likes this
0 votes
Answer accepted
Prachi Bolar
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
September 4, 2025

Hello,

Welcome to community :) 

There is no direct way to do so

The below workaround could help

  • First, create a new Custom Field of the type - Text Field (multi-line) and named it "Email Description". I'll be sharing why we need this field in the following steps.
  • Then, associate this newly created custom field with the related Issue Screens on your project
  • Next, from the Field Configuration settings of the related project, I changed the Renderer type of the field - Email Description from Default Text Render to Wiki Style Renderer:

  • Next, update  Automation Rule, which does the following at a high level:
    • Create a variable and use the following smart-value as its value to remove all images in the Description field:
      {{issue.description.replaceAll("![^\s!][^!]+[^\s!]+[!]", " ")}} 
    • Use the Edit Issue Fields action to set Email Description field value to the above variable. We need to have this field because we cannot send the above variable directly in HTML format. To convert a field to HTML, the field needs to be a custom field in Wiki Style Renderer format.
  • Finally, Send Email action to send the Email Description field in HTML format.

Thank You,

Prachi

Casey Hale September 17, 2025

Hi Prachi, 

Thank you for this information. I managed to find a fix without the need to create a new custom field. However this information was helpful because I was able to apply some of it to the fix. 

The goal was to auto forward a received email with attachments that met certain criteria (if and or) to another email address. The issue was that there is no way to forward the actual email at a Jira level. This can be set up at an exchange level but was more complicated. I have found though that using the Send Customised Email function within the automation rule with the following Json code gave me the ability to forward the email with the attachment as a link. 

Another issue I ran into was the email format was not in HTML so it did not display correctly. Adding on .html to the code solved this issue. Please see my notes for a work around:

Screenshot 2025-09-18 091623.png

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
PREMIUM
TAGS
AUG Leaders

Atlassian Community Events