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
Recommended Learning For You
Level up your skills with Atlassian learning
Jira Align Program Essentials
Learn how to use Jira Align at the program level and how to plan for and manage your Program Increment (PI).
Managing Agile Boards and Reports
Learn how to pick the right board type for your team and customize it to fit your specific requirements.
Atlassian Certified Associate
Jira Software Board Configuration
Earn an associate-level credential from Atlassian that shows you can effectively configure Jira Software boards.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.