Uploaded image for project: 'Jira Service Management Data Center'
  1. Jira Service Management Data Center
  2. JSDSERVER-16137

Tickets are getting incorrect description/comment like "Color value is invalid" when the email to create the embedded HTML that contains CSS style sheet.

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Medium Medium
    • None
    • 10.3.3, 10.4.0, 10.5.0, 10.3.5
    • Create Request

      Issue Summary

      When the email contains embedded HTML that contains a CSS style sheet, the text is replaced with "Color value is invalid"

      Steps to Reproduce

      1. Configure a Mail Channel
      2. Sent an email with html - Tested with the same text from the bug
        Hi,
        
        Testing bug
        
        {color: revert !important}
        
        Thanks
        

      Expected Results

      The description contains the Table with CSS style sheet color in it.

      Actual Results

      Hi,
      
      Testing bug
      
      color: Color value is invalid
      Thanks
      

      Workaround

      Consider attempting to disable the HTML parsing within your Service Desk configuration:

      1. Navigate to https://<BASE_URL>/secure/admin/SDMailInfo.jspa
      2. Select "No, remove the formatting by converting HTML messages to plain text".

      Depending on the nature of the HTML received by Jira, this action could potentially reduce the amount of undesirable content added.

      This workaround will not print HTML content in its desired form, but it is very rare that a user uses HTML in an email.

      Versions Tested

      Version Is Affected?
      10.3.3 Yes
      10.3.5 Yes
      10.4.0 Yes
      10.5.0 Yes

      Other Notes

      This is a regression of the following bug:

            [JSDSERVER-16137] Tickets are getting incorrect description/comment like "Color value is invalid" when the email to create the embedded HTML that contains CSS style sheet.

            SET Analytics Bot made changes -
            UIS Original: 1 New: 8
            SET Analytics Bot made changes -
            Support reference count Original: 1 New: 2
            SET Analytics Bot made changes -
            UIS New: 1
            Benjamin Suess made changes -
            Attachment New: image-2025-04-07-09-53-25-699.png [ 494370 ]
            Benjamin Suess made changes -
            Attachment New: image-2025-04-07-09-53-11-578.png [ 494169 ]
            Benjamin Suess made changes -
            Status Original: Short Term Backlog [ 12074 ] New: Gathering Impact [ 12072 ]
            SET Analytics Bot made changes -
            Support reference count New: 1
            Bartosz Ornatowski made changes -
            Priority Original: High [ 2 ] New: Medium [ 3 ]
            Benjamin Suess made changes -
            Status Original: Needs Triage [ 10030 ] New: Short Term Backlog [ 12074 ]
            Security Metrics Bot made changes -
            Labels New: ril

              Unassigned Unassigned
              6bebacf0c7e4 Aline Staudt
              Affected customers:
              2 This affects my team
              Watchers:
              4 Start watching this issue

                Created:
                Updated: