Currently I am automating sending an email each time an issue is created and the issue type is a task.
For this, I am using {{issue.description}} to include it in the body of the email but it does not take into account that inside description, there is a numbered list and it only returns a # instead of 1. or 2. as I want it to do.
So my question is how can I change the code so it takes this into account?.
-> Text in my description
-> Text in email
# Request
# Time
I also include my html for this point
<div style="margin-left: 20px;">
{{issue.description.replace("\n", "<br>")}}
</div><br>
{{issue.description}} provides wiki format. You need to use a Wiki renderer to get HTML-like results. I can't help as I don't know where your code runs, but please check applicable WikiRenderers for your environment.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.