Hi,
is it possible to change the order of comments in emails?
Now new comments are on the bootom of the email. We would like to have new comments on the top of the mail.
Thank you!
you can customize your email template:
https://confluence.atlassian.com/display/JIRA/Customizing+Email+Content
Thank you, bit i do not use the JIRA mail function. We work with an add-on called "email this issue".
If found following code in this add-on:
#if ($!emailDef.emailOptions.addComments) $i18n.getText("common.words.comments"): #foreach ($comment in $!publicComments) $!{comment.authorFullName} - $!{dateformatter.format($comment.created)} $comment.body ------------------ #end #end
How can i order the comments? I do not know this script or template language.
I don't know this add-onThe language is velocity.
Try this:
#
if
($!emailDef.emailOptions.addComments)
$i18n.getText(
"common.words.comments"
):
#foreach ($i in $!publicComments)
$!{comment.authorFullName} - $!{dateformatter.format($comment.created)}
$comment.body
------------------
#end
Thank you! That works for me!
Great!
can you vote my response?
It looks like you're new here. Sign in or register to get started.