On this page
Use case
Send links to attachments whose names are included in the description of the issue in the body of an email.
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.
{{{replaceAll(toString(attachmentUrls(findPattern(%{issue.description}, "(\\w+)+.(docx|pdf|png|jpg)+"))), ",", "\n")}}}
It is strictly necessary that these files are attached to the issue that executes the transition. Otherwise, the expression will not work.
Related use cases
If you still have questions, feel free to refer to our support team.