Jira Issues Macro - SVG on JIRA are Missing on Confluence

XMLWordPrintable

    • 3
    • Severity 2 - Major
    • 0

      Problem

      When Confluenc needs to display, in Jira macro, a custom field with SVG values coming from Jira, not all values are parsed on Confluence

      Environment

      • Confluence 8.5.12
      • Jira 9.12.12

      Steps to Reproduce

      1. On Jira, create a Jira task using a 3rd party app that generates SVG values, like Traffic-Lights for Jira Data Center. That also affects other apps.
      2. On Confluence, create a page using a Jira macro and setup the macro to display the 3rd-party custom field.
      3. The Jira macro displays a black box instead of the image from the custom field

      Expected Results

      Actual Results

      Workaround

      On Confluence 8.9 and lower, you can use Jira gadgets to properly display the images from 3rd-party custom fields.

      Notes

      As a proof of concept, It's possible to force Confluence to display the 3rd-party app image by:

      1. Searching on Jira for the issues you would like the image displayed on Confluence.
      2. Export the search to XML and locate the <svg></svg> related to the 3rd-party app.
      3. On Confluence, using Dev Tools, open the page with the Jira macro issue.
      4. Locate the element on Dev Tools.
      5. Replace the HTML by the same <svg></svg> available on Jira XML export.

            Assignee:
            Sandeep Mellacheruvu
            Reporter:
            Marcelo da Costa
            Votes:
            3 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated: