Table cell background colours lost in renderedBody API and JSM Customer Notifications

XMLWordPrintable

    • Minor

      Issue Summary

      Tables with coloured cell backgrounds lose colours in rendered API output (expand=renderedBody) and JSM Customer Notification emails. The ADF source correctly contains background colour attributes, but they are stripped during conversion to HTML.

      Steps to Reproduce

      1. Create a comment on a JSM issue with a table containing cells with background colours.
      2. Call GET /rest/api/3/issue/{issueIdOrKey}/comment/{commentId}?expand=renderedBody
      3. Observe the renderedBody: table is rendered but colours are missing
      4. Check the JSM Customer Notification email: table is rendered but colours are missing

      Note: The raw ADF body correctly contains the "background" attribute in tableCell.attrs. The colour is lost during ADF → Wiki Markup → HTML conversion.

      JSM Ticket:

      Email Notification:

      Expected Results

      Cell background colours should be preserved in rendered HTML in notification email.

      Actual Results

      Colours are silently stripped: <td class='confluenceTd'> with no colour styling

      Workaround

      Currently there is no known workaround for this behavior. A workaround will be added here when available

              Assignee:
              Unassigned
              Reporter:
              Chandra Shekhar Pandey
              Votes:
              8 Vote for this issue
              Watchers:
              6 Start watching this issue

                Created:
                Updated: