Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
Community Members
Community Events
Community Groups

JIRA Automation Mail Table not having border and styling Issue

Hi Team, We are trying to generate an HTML format email with tabular data, and given below is the code for the same


1) How to get border added to the table

2) How to add background color

3) Control the styling aspect (Width of column)


We checked the HTML markup option but the wiki has only an option for the font if we add the manual table styling in getting applied but not working with lookupIssues.


Sample Mail without border and styling support.Capture.PNG

Send Email Option Content:

Hey Team, we still have the following issues left to complete this sprint:
<p> Total number of Open Issues are {{lookupIssues.size}} </p>
<tr style="border: 5px solid black">
<th style="text-align: left">Assignee</th>
<th style="text-align: left">Summary</th>
<th style="text-align: left">Status</th>
<th style="text-align: right">Last Updated</th>
<td>{{assignee.displayName.htmlEncode}}</td><td><a href={{url.htmlEncode}}>{{summary.htmlEncode}}</a></td><td>{{}}</td><td style="text-align: right"><font color="red">{{updated.longDate.htmlEncode}}</font></td>




1 answer

Hi @Pawan Choure -- Welcome to the Atlassian Community!

Such HTML features are apparently not supported, and you could submit a suggestion for Atlassian to add them.  When I checked I did not find any open suggestions for this idea in the public backlog.

I remember trying this same thing a while ago, and I just tried again and confirmed your results for Jira Cloud's automation rules.

Kind regards,

@Bill Sheboy 

When I create a normal table with formatting it works only when I use lookupIssues formatting doesn't work isn't that strange. 

Is there any way to view the result of the HTML generated page in JIRA automation.

For your use case of creating a formatted email, the only way I can think of is to instead set that body text to a different plain text, custom field, and then export to see what happens.

Suggest an answer

Log in or Sign up to answer
Community showcase
Published in Jira Software

Upcoming changes to epic fields in company-managed projects

👋 Hi there Jira Community! A few months ago we shared with you plans around renaming epics in your company-managed projects. As part of these changes, we highlighted upcoming changes to epics on...

15,051 views 38 49
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you