Send links to attachments whose names are included in the description of the issue in the body of an email.
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.
Enter a plain text and optionally use Field codes for the subject of your email.
Choose HTML
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.
Send email