On this page
Use case
In the following use case we show an approach to add a link to a text in the body of an email generated from the Send email post function.
Configuration
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.
<a href="%{system.baseUrl}/browse/%{issue.key}">%{issue.key}</a>
The previous expression can be modified to add a hyperlink to the current issue to any text. Simply replace the text between the tags with the text of your choice as in the expression below and it will be displayed appropriately in the email.
<a href="%{system.baseUrl}/browse/%{issue.key}">Custom text</a>
Related use cases
If you still have questions, feel free to refer to our support team.