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>
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
Hi Marco
That worked, Can't even figure out what you changed? sorry
but thanks
Rochelle
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
hi @Marco Brundel this was awesome. I have been trying to eliminate that space for hours and now it looks good.
Kudos :)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Unselect the checkbox - Convert line breaks to HTML line breaks.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.