Hi all,
We have a special JIRA system and queue that points to outside customers with text email responses. They do not have access inside our firewall and so I want to remove the URL link from the response.
I have edited WEB-INF/classes/templates/email/text/includes/issuesummary.vm to remove the line:
>$stringUtils.leftPad($i18n.getText("common.concepts.url"), $padSize): ${baseurl}/browse/${issue.getKey()}
Yet the reply is still coming back with the following for the summary?!?
> Test 3
> ------
>
> Key: SUP-2462
> URL: http://jira1.xxx.com:8080/browse/SUP-2462
> Project: Support
> Issue Type: Task
> Reporter: John Doe
> Assignee: Robert Nadon
I was hoping to see this:
> Test 3
> ------
>
> Key: SUP-2462
> Project: Support
> Issue Type: Task
> Reporter: John Doe
> Assignee: Robert Nadon
I tried a reindex. Can anyone help?
Thanks in advance,
Robert
Right I already removed all of the [ ${baseurl * ] items. That information from that comes outside of the "> " summary section. Turns out a reboot fixed it. So somewhere it must have cached it. Thanks for the Time, much appreciated.
I think you will need to edit all the vm files to remove it. Not just the one.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Boris, The only place it is found the code is in the include. For all the other ones I only see this line: #parse("templates/email/text/includes/issuesummary.vm") What other vm files are you referring to? The ones in html/ directory?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
grep -r '${baseurl}/browse/${issue.getKey()' ./ .//filtersubscription.vm:${StringUtils.rightPad("", 12)}${baseurl}/browse/${issue.getKey()} .//includes/issuesummary.vm:>$stringUtils.leftPad($i18n.getText("common.concepts.url"), $padSize): ${baseurl}/browse/${issue.getKey()} .//issueassigned.vm: [ ${baseurl}/browse/${issue.getKey()}?page=${tabpanel-all} ] .//issueclosed.vm: [ ${baseurl}/browse/${issue.getKey()}?page=${tabpanel-all} ] .//issuecommented.vm: #if($comment.getId())[ ${baseurl}/browse/${issue.getKey()}?page=${tabpanel-comment}&focusedCommentId=${comment.getId()}\#comment-${comment.getId()} ] #end .//issuecommentedited.vm: #if($comment.getId())[ ${baseurl}/browse/${issue.getKey()}?page=${tabpanel-comment}&focusedCommentId=${comment.getId()}\#comment-${comment.getId()} ] #end .//issuecreated.vm:$stringUtils.leftPad($i18n.getText("common.concepts.url"), $padSize): ${baseurl}/browse/${issue.getKey()} .//issuedeleted.vm: [ ${baseurl}/browse/${issue.getKey()}?page=${tabpanel-all} ] .//issuegenericevent.vm: [ ${baseurl}/browse/${issue.getKey()}?page=${tabpanel-all} ] .//issuementioned.vm: [ ${baseurl}/browse/${issue.getKey()}?page=${tabpanel-all} ] .//issuementioned.vm:>$stringUtils.leftPad($i18n.getText("jira.mentions.email.view.online"), $padSize): ${baseurl}/browse/${issue.getKey()} .//issuementioned.vm:>$stringUtils.leftPad($i18n.getText("jira.mentions.email.comment.add"), $padSize): ${baseurl}/browse/${issue.getKey()}#add-comment .//issuemoved.vm: [ ${baseurl}/browse/${issue.getKey()}?page=${tabpanel-all} ] .//issuereopened.vm: [ ${baseurl}/browse/${issue.getKey()}?page=${tabpanel-all} ] .//issueresolved.vm: [ ${baseurl}/browse/${issue.getKey()}?page=${tabpanel-all} ] .//issueupdated.vm: [ ${baseurl}/browse/${issue.getKey()}?page=${tabpanel-all} ] .//issueworklogupdated.vm: #if ($worklog)[ ${baseurl}/browse/${issue.getKey()}?page=${tabpanel-worklog}\#worklog-${worklog.getId()} ]#else[ ${baseurl}/browse/${issue.getKey()}?page=all ]#end .//issueworkstarted.vm: [ ${baseurl}/browse/${issue.getKey()}?page=${tabpanel-all} ] .//issueworkstopped.vm: [ ${baseurl}/browse/${issue.getKey()}?page=${tabpanel-all} ]
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.