Hi *,
we want to have an extra email (html) velocity template for one workflow action. Similar to the template issueupdated.vm (see codeblock) it should contain the same infos but the email header should contain rejected instead of updated. We are unfortunately not (now) very good in this.
#disable_html_escaping() #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 #if ($changelog) #rowWrapperNormal("#parse('templates/email/html/includes/fields/changelog.vm')" '' 'wrapper-special-margin') #end #parse('templates/email/html/includes/changelog-issue-description.vm') #set ($commentActionBody="#parse('templates/email/html/includes/patterns/comment-action.vm')") #rowWrapperNormal($commentActionBody) #parse("templates/email/html/includes/footer.vm")
We made a copy of issueupdated.com (issuerejected.vm), created the needed file in ../subject, modified "email-template-id-mappings.xml" and the main functionality is given.
What do we have to change?
#defaultMailHeader("jira.email.title.issue.updated", $changelogauthor)
We changed it to:
#defaultMailHeader("jira.email.title.issue.rejected", $changelogauthor)
... what can not work.
In the email header "jira.email.title.issue.rejected" is shown instead of the wanted infos.
Thank you in advance.
Cheers
Carlo
Community moderators have prevented the ability to post new answers.
Recommended Learning For You
Level up your skills with Atlassian learning
Learning Path
Apply agile practices
Transform how you manage your work with agile practices, including kanban and scrum frameworks.
Learning Path
Configure agile boards for Jira projects
Learn how to create and configure agile Jira boards so you can plan, prioritize, and estimate upcoming work.
Jira Essentials with Agile Mindset
Suitable for beginners, this live instructor-led full-day course will set up your whole team to understand how to use Jira with an agile methodology.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.