Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Automation email template leaving a lot of space

rochellesaldanha July 4, 2022

Hi

I have an automation to be sent when a release occurs, 

This is my template, everything appears correctly but there is a huge space empty between the first line & the table

 

Release {{version.name}} released on {{version.releaseDate.format("dd/MM/yyyy")}} included these items

<table cellspacing="1" cellpadding="5" border="0" bgcolor="#aaaaaa">
<tr bgcolor="#ffffff">
<th>Issue</th>
<th>Type</th>
<th>Summary</th>
<th>Status</th>
<th>Resolution</th>
</tr>
{{#lookupIssues}}
<tr bgcolor="#ffffff">
<td><a href="{{url}}">{{key}}</a></td>
<td>{{issueType.name}}</td>
<td>{{summary}}</td>
<td>{{status.name}}</td>
<td>{{resolution.name}}</td>
</tr>
{{/}}
</table>

 

Screenshot 2022-07-04 at 13.30.51.png

2 answers

1 accepted

5 votes
Answer accepted
Marco Brundel
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
July 4, 2022

Hi @rochellesaldanha ,

Will it help you of you this in your code:

Release {{version.name}} released on {{version.releaseDate.format("dd/MM/yyyy")}} included these items
<table cellspacing="1" cellpadding="5" border="0" bgcolor="#aaaaaa"><tr bgcolor="#ffffff"><th>Issue</th><th>Type</th><th>Summary</th><th>Status</th><th>Resolution</th></tr>
{{#lookupIssues}}
<tr bgcolor="#ffffff"><td><a href="{{url}}">{{key}}</a></td><td>{{issueType.name}}</td><td>{{summary}}</td><td>{{status.name}}</td><td>{{resolution.name}}</td></tr>{{/}}
</table>


More on 1 line ?

 

Regards, Marco 

rochellesaldanha July 4, 2022

Hi Marco

That worked, Can't even figure out what you changed? sorry

but thanks

Rochelle

Like • 2 people like this
Marco Brundel
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
July 4, 2022

Hi @rochellesaldanha ,

I removed the line between 

'Release {{version.name}} released on {{version.releaseDate.format("dd/MM/yyyy")}} included these items'

and

'<table cellspacing="1" cellpadding="5" border="0" bgcolor="#aaaaaa">'

And I put most of the items between < and > the 1 line

 

Good to read it helps.

 

Regards, Marco

Like • Sonia Urbina likes this
Sonia Urbina
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
December 11, 2024

hi @Marco Brundel this was awesome. I have been trying to eliminate that space for hours and now it looks good. 

Kudos :)

0 votes
Aslam Hirani
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
August 17, 2023

Unselect the checkbox - Convert line breaks to HTML line breaks.

More options.png

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
STANDARD
PERMISSIONS LEVEL
Product Admin
TAGS
AUG Leaders

Atlassian Community Events