Hi All,
we currently changing our HTML velocity templates but we cannot change the URL of the Issue Summary. Do you know in which template is this reference stored?
See attached screen:
https://support.atlassian.com/secure/attachment/647929/Summary.jpg
Thanks in advance,
Rumi
What is #emailbanner_LSY? Shouldn't you call emailbannerCustom?
Hi guys,
I figured out that the mentioned field is stored in the 'macros.vm' here:
#macro (emailbanner $actionerUser $verbkey $verba1 $verba2 $verba3)
#set($issueTitleHtml = "<a style='color:${textLinkColour};text-decoration:none;' href='${baseurl}/browse/${issue.getKey()}'><strong>$textutils.htmlEncode($issue.getSummary())</strong></a>")
#commonEmailBanner($actionerUser $issueTitleHtml $verbkey $verba1 $verba2 $verba3)
#end
Therefore I put a new macro in the code:
#macro (emailbannerCustom $actionerUser $verbkey $verba1 $verba2 $verba3)
#set($issueTitleHtml = "<a style='color:${textLinkColour};text-decoration:none;' href='custom.url.com/browse/${issue.getKey()}'><strong>$textutils.htmlEncode($issue.getSummary())</strong></a>")
#commonEmailBanner($actionerUser $issueTitleHtml $verbkey $verba1 $verba2 $verba3)
#end
and when I tried out I get the following error in the email:
#emailbanner_LSY($issue.reporterUser "email.event.activity.created" $reporter $issueLink "") |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.