---
title: "How to troubleshoot missing table borders in Canned Responses emails"
canonical: "https://support.appfire.com/space/SUPPORT/1868924046/How%20to%20troubleshoot%20missing%20table%20borders%20in%20Canned%20Responses%20emails"
format: markdown
---
## Problem

Users have reported that tables included in Canned Responses Pro Templates for Jira appear without visible borders when emails are sent using Jira automation. However, when using Jira's native email trigger, table borders display correctly.

However, when the same content is sent using Jira’s native email trigger, the table borders display correctly.

|  |
| --- |
| **On this page:**<br>> Macro (toc) |

## Solution

Follow the steps below to troubleshoot and resolve this issue:

### Step 1: **Reproduce the issue**

1. Create an automation rule in Jira that sends an email based on a comment trigger.
2. Use a Canned Response template containing a table.
3. Send an automated email and check if the table borders appear.
4. Compare the output with a **native Jira email trigger** to confirm the discrepancy.

![image-20250522-102215.png](media://9be11da4-1eb8-4ddb-889a-c5abba2b796a)

### Step 2: **Verify email HTML rendering**

1. Open the received email in an email client that supports HTML rendering.
2. Inspect the email source code to check if the `<table>` tag contains a **border** property. If missing, Jira automation is likely stripping style attributes from the email body.

### Step 3: **Apply a workaround in Jira automation**

1. Modify the automation rule to ensure tables include borders by adding inline CSS to the table structure. To add a border to table headers and cells, use the following automation rule transformation:

```html
{{comment.body.html.replace("<table class='confluenceTable'>", "<table class='confluenceTable' style='border:1px solid' >").replace("<th class='confluenceTh'>", "<th class='confluenceTh' style='border:1px solid' >").replace("<td class='confluenceTd'>", "<td class='confluenceTd' style='border:1px solid' >")}}
```

> ℹ️ **Important**
> ℹ️ 
> ℹ️ Disable the **Convert line breaks to HTML line breaks** option in the Jira Automation email action. This option can interfere with HTML rendering.

### Step 4: **Confirm the fix**

1. Save the updated automation rule.
2. Send a new automated email after applying the transformation.
3. Verify that the table borders now appear correctly in the email.

## Additional notes

- This issue is caused by Jira automation handling HTML differently than native email triggers.
- For more advanced styling, you can embed additional inline CSS in the transformation.

## Attachments

## Resolution

Applying the HTML transformation in Jira automation successfully fixes the missing table borders issue.