On this page

Use case

With the Send email post function you have the possibility to send an email and format its content using HTML.

In the following use case we explain how to create a table in the body of the email with HTML using the elements of a text.



Configuration

Add the Send email post function to the desired workflow transition or create a new transition.

Define the basic configuration with the required and information you need to fill in for your email.

Email content

Subject

Enter a plain text and optionally use Field codes for the subject of your email.

Email format

Choose HTML 

Body

Enter the following expression.

<table>
  <tr>
    <th>Title of the table</th>

  </tr>

{{{toString(textOnStringList(toStringList(%{issue.cfAAAAA}), "<tr><td>" + %{seed.text} + "</td></tr>"), "")}}}
    
</table>

Replace the field code %{issue.cfAAAAA} with the field code of your custom field and change the title of the table in the previous expression.



If you still have questions, feel free to refer to our support team.