We couldn't load all Actvitity tabs. Refresh the page to try again.
If the problem persists, contact your Jira admin.
IMPORTANT: JAC is a Public system and anyone on the internet will be able to view the data in the created JAC tickets. Please don’t include Customer or Sensitive data in the JAC ticket.
Uploaded image for project: 'Jira Data Center'
  1. Jira Data Center
  2. JRASERVER-77850

Linked images are not shown in email notifications when customizing email content

      Issue Summary

      Currently, when utilizing the feature to customize email content, following the documentation Customizing email content Customizing email content and applying the solution shared on Examples: Customizing email content, depends on the method utilized in the template to reference the image, it will fail with the error in the image section: "The Linked image cannot be displayed. The file may have been moved, renamed or deleted"

      Checking the Catalina.out you may the following error:

      2024-04-17 12:07:32,338 https-jsse-nio-8443-exec-19 WARN   -   [web.action.util.Error404] Detected anonymous access to page <https://<base URL/<path to image>/<image name.png> redirecting to login page
      

      Steps to Reproduce

      1. Configure Jira to send notification per this document
      2. Go to Administration   > System
      3. Under Mail, * select Email templates{*}.
      4. Download .zip: Download a ZIP archive with all available templates and edit them locally.
      5. Extract the content, create 
      6. Add the image file to the ZIP archive you downloaded from Jira. You should create a new folder for it at the top of the hierarchy, next to email and email-batch.
      7. Compress the folders with the new image folder and reference (linked) the images following the documentation.
      8. Upload the templates.zip again, make sure to see the information that the uploading has been performed with no errors, and wait 5 minutes to test.

      Expected Results

      After successfully uploading the templates.zip and triggering an email notification with the customized logo, the image is load from the linked source and displayed in the email header, foot or body.

      Actual Results

      The images in the notification email don't render and an error message is displayed:

      "The Linked image cannot be displayed. The file may have been moved, renamed or deleted"

      Workaround

      Customizations to Velocity templates or other Jira files aren’t included in the scope of Atlassian Support. Check out Atlassian Support Offerings ,

      To remediate the issue, please follow the instructions below, it is similar to the document How to use custom images in Jira and share them in a cluster, please follow the steps:

      1. Find the images imported by the templates.zip under $jira-home/templates/images
      2. Copy the images from $jira-home/templates/images to $jira-install/atlassian-jira/images/mail/
      3. Fix the permissions to match the same as the other images.
      4. Open the email that does not work and check if the image is now showing.

       

            Loading...
            IMPORTANT: JAC is a Public system and anyone on the internet will be able to view the data in the created JAC tickets. Please don’t include Customer or Sensitive data in the JAC ticket.
            Uploaded image for project: 'Jira Data Center'
            1. Jira Data Center
            2. JRASERVER-77850

            Linked images are not shown in email notifications when customizing email content

              • Icon: Bug Bug
              • Resolution: Fixed
              • Icon: Medium Medium
              • 10.1.2
              • 9.4.0, 9.12.0, 9.16.0
              • Email notifications
              • None

                Issue Summary

                Currently, when utilizing the feature to customize email content, following the documentation Customizing email content Customizing email content and applying the solution shared on Examples: Customizing email content, depends on the method utilized in the template to reference the image, it will fail with the error in the image section: "The Linked image cannot be displayed. The file may have been moved, renamed or deleted"

                Checking the Catalina.out you may the following error:

                2024-04-17 12:07:32,338 https-jsse-nio-8443-exec-19 WARN   -   [web.action.util.Error404] Detected anonymous access to page <https://<base URL/<path to image>/<image name.png> redirecting to login page
                

                Steps to Reproduce

                1. Configure Jira to send notification per this document
                2. Go to Administration   > System
                3. Under Mail, * select Email templates{*}.
                4. Download .zip: Download a ZIP archive with all available templates and edit them locally.
                5. Extract the content, create 
                6. Add the image file to the ZIP archive you downloaded from Jira. You should create a new folder for it at the top of the hierarchy, next to email and email-batch.
                7. Compress the folders with the new image folder and reference (linked) the images following the documentation.
                8. Upload the templates.zip again, make sure to see the information that the uploading has been performed with no errors, and wait 5 minutes to test.

                Expected Results

                After successfully uploading the templates.zip and triggering an email notification with the customized logo, the image is load from the linked source and displayed in the email header, foot or body.

                Actual Results

                The images in the notification email don't render and an error message is displayed:

                "The Linked image cannot be displayed. The file may have been moved, renamed or deleted"

                Workaround

                Customizations to Velocity templates or other Jira files aren’t included in the scope of Atlassian Support. Check out Atlassian Support Offerings ,

                To remediate the issue, please follow the instructions below, it is similar to the document How to use custom images in Jira and share them in a cluster, please follow the steps:

                1. Find the images imported by the templates.zip under $jira-home/templates/images
                2. Copy the images from $jira-home/templates/images to $jira-install/atlassian-jira/images/mail/
                3. Fix the permissions to match the same as the other images.
                4. Open the email that does not work and check if the image is now showing.

                 

                        5da3080df748 Soner Sezgin
                        43a387dfe58d Rodrigo Bruch
                        Votes:
                        1 Vote for this issue
                        Watchers:
                        2 Start watching this issue

                          Created:
                          Updated:
                          Resolved:

                            5da3080df748 Soner Sezgin
                            43a387dfe58d Rodrigo Bruch
                            Affected customers:
                            1 This affects my team
                            Watchers:
                            2 Start watching this issue

                              Created:
                              Updated:
                              Resolved: