The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Custom Email Notification as Post Function in Workflow

Stanzel_ Thomas
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
June 2, 2020

Dear Community,

 

I'd like to ask, if somebody has an idea, how I could solve the following problem.

I'm using a post function in one of our workflows to send a custom Notification via Script Runner (Script-Post Function). As part of the message I'd like to use the issue.description of the ticket to be shown in the Mail.

Unfortunately the text of the description is not formated correct, and just shown as "plane text in a single line", even if its formated as html within the Ticket.

I've set it as the following:

<p>Dear Sender</p>
<br>
<p>a new Ticket has been created.</p>
<br>
<br>=============================================
<p><%=issue.description %></p>
<br>=============================================
<br>
<br>
<p><a href="https://jira......../browse/<%=issue.key %>"><%=issue.key %> - <%=issue.summary %></a></p>

 

 

0 answers

Comments for this post are closed

Community moderators have prevented the ability to post new answers.