Uploaded image for project: 'Confluence Data Center'
  1. Confluence Data Center
  2. CONFSERVER-94667

Jira Issue Macro doesn't render HTML stylesheet data in a custom field

    XMLWordPrintable

Details

    Description

      Problem

      Jira Issue Macro doesn't render HTML stylesheet data that is coming from a custom field of Jira.

      Steps to Reproduce

      1. Create a custom field with an assigned stylesheet on Jira with the help of Scriptrunner: scripted fields (Adaptavist ScriptRunner for JIRA). You can find a sample Groovy script attached.
      2. Associate your custom field with your screens.
      3. Create an application link between Jira and Confluence
      4. Create a page on Confluence, include the Jira Issues macro, and set a valid JQL that filters entities from Jira.

      Expected Results

      The style sheet for the custom field should be rendered:

      Actual Results

      The style sheet is not rendered for the custom field:

      Workaround

      There is no currently any workaround for this issue.

      Notes

      The issue should have the same roots as the bug CONFSERVER-94113 - Jira Issue Macro doesn't render HTML code in a custom field

      Attachments

        1. Screenshot 2024-02-21 at 18.03.17.png
          129 kB
          Erhan Baz
        2. Screenshot 2024-02-21 at 18.11.43.png
          127 kB
          Erhan Baz
        3. script_field.groovy
          2 kB
          Erhan Baz

        Issue Links

          Activity

            People

              Unassigned Unassigned
              f8be9ce75683 Erhan Baz
              Votes:
              10 Vote for this issue
              Watchers:
              12 Start watching this issue

              Dates

                Created:
                Updated: