Hi all,
First time I have the case, someone set a description in an issue and when we sent the custom email with script-runner custom email post function as plain text, I got the following in the email:
Objet : {color:#000000}Bonjour,{color}
{color:#000000}Bonne journée,{color}
Here is my code :
Bonjour,
Type de demande : ${issue.summary}
Objet : ${issue.description}
Localisation : ${cfValues["Localisation"]}
Date de la demande : ${issue.created.format("dd-MM-yyyy")}
<%
def commentManager = com.atlassian.jira.component.ComponentAccessor.getCommentManager()
def comments = commentManager.getComments(issue)
if(comments){
out << "Informations complémentaires : "
for(comment in comments){
out << comment.body + "\n"
}
}
%>
I would like to remove the {color}
Thanks in advance for the help