Forums

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

How to save pads (#) in email templates

Javier Carrasco June 28, 2019

Good morning, I am doing an integration between JIra and another tool by email. One of the requirements is that we send in the subject and in the mail body words between # as for example / ## CAUT-IN550332 ## /. The velocity interprets it to me as a comment and it does not paint me anything, how can I save # and that it does not interpret me as a comment
I would also like to see how I can delete the phrase NOTICE JIRA of the mail subject from the notification.

1 answer

1 accepted

1 vote
Answer accepted
Nic Brough -Adaptavist-
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
June 28, 2019

From memory, you can escape hashes in velocity - use # instead of #

So, /## CAUT-IN550332 ##/ would be /## CAUT-IN550332 ##/ in the velocity file.

The subject prefix of emails is set in the email settings under the mailserver settings in the admin area.

Javier Carrasco June 28, 2019

Thanks has worked correctly.
I still can not see where to modify the prefix in the subject of the mail.

Nic Brough -Adaptavist-
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
June 28, 2019

Go to Admin -> System -> Mail -> Outgoing mail and look for the "prefix" field

Javier Carrasco July 1, 2019

Thanks I have found it. You know, if there is a way to leave that field blank?

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events