Uploaded image for project: 'Automation for Cloud'
  1. Automation for Cloud
  2. AUTO-409

Tables do not get properly formatted when using the conversion to HTML in automation

XMLWordPrintable

    • Severity 3 - Minor

      Issue Summary

      Tables do not get properly formatted when using the conversion to HTML in automation

      Steps to Reproduce

      1. Add a table to a field that supports markup, like the description field.
      2. Create an automation that sends an email, in the body of the email include the smart value for the text field, and convert it to HTML according to Convert wiki markup to HTML or plain text in Jira automation, for example:
        {{triggerIssue.Description.html}}
      3. Trigger the automation.

      Expected Results

      The email received contains a table that looks similar to what is in the description field of the Jira issue.

      Actual Results

      The table data is visible in the email received, but the table itself is not visible, so there is no shading in the header row, nor border in the table. Example:
      Issue:

      Email received:

      Workaround

      One workaround would be to use the below and it depends on email client.

      {{issue.description.html.replace("<table class","<table border=1 class")}} 

              Unassigned Unassigned
              rchiquete Rene C. [Atlassian Support]
              Votes:
              23 Vote for this issue
              Watchers:
              29 Start watching this issue

                Created:
                Updated: