Customizing email content to add a image does not work

XMLWordPrintable

    • Type: Bug
    • Resolution: Done
    • Priority: High
    • None
    • Affects Version/s: 9.4.0, 9.12.1, 9.16.2
    • Component/s: Documentation - All
    • 9.04
    • 1
    • Severity 2 - Major

      Issue Summary

      Following the instructions based on the document Customizing email content does not reflect the proper result per instructions in the section "Adding company logo".

      This is reproducible on Data Center: yes

      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 in a folder and create a new folder called Images at the top of the hierarchy, next to email and email-batch.
      6. Add the image file to the ZIP archive you downloaded from Jira per instructions.
      7. Edit the content of footer.vm or header.vm to refer the image per instructions.
      8. Compress the folders with the new image folder and reference (linked) the images following the documentation.
      9. 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

      he 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," or a broken image icon is shown on top of the header or footer.

      The below exception is thrown in the catalina.out file:

      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
      

      Workaround

      Customers need to contact support to resolve this rather trivial issue

            Assignee:
            Maria Sobińska
            Reporter:
            Rodrigo Bruch
            Votes:
            2 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved: