This code snippet fetches the comment added during a transition
Access the text of the comment using transientVars
variable.
transientVars.comment |
NA
The output of this snippet is a String which you can use in:
A Groovy expression, for example to:
A Groovy template, for example to:
Subject/HTML body/Text body of Email issue post-function
<% if(transientVars.comment) {%> A comment: <%=transientVars.comment %> has been added on the linked issue <% } else {%> No comment was added on the linked issue <% } %> |
|