Forums

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

Velocity Template for a comment email

Soporte Ferrovial August 31, 2018

Hi,

     I'm trying to create a velocity template for a jemh notification and I want to ask if there is any repository where you can find common templates.

     What I'm looking for is very simple, that assignee user have commented the issue and the comment.

     I have this as initial point:

Text:

#parse("templates/email/includes/issueplugins.vm")
[ ${baseurl}/browse/${issue.getKey()}?page=${tabpanel-all} ]

#headerTitleText($i18n.getText("template.change.updated", $remoteUser.displayName, $issue.key), $remoteUser.displayName)

#comment()
#visibilityText()

#parse("templates/email/text/includes/issuesummary.vm")

 

Html:

#defaultMailHeader("jira.email.title.issue.updated", $changelogauthor)

#rowWrapperNormal("#parse('templates/email/html/includes/patterns/issue-title.vm')")

#if ($comment)
#parse('templates/email/html/includes/patterns/comment-top.vm')
#end

#set ($commentActionBody="#parse('templates/email/html/includes/patterns/comment-action.vm')")
#rowWrapperNormal($commentActionBody)

#parse("templates/email/html/includes/footer.vm")

 

Anyone can help me with the modifications to do to this one?

Thank you in advance.

0 answers

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events