Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Rich custom field text is not saved in outgoing email.

Marat Popov February 9, 2024

I need to save the formatted text in sent email.

  1. I made a custom "Send Email" screen to send emails whose body contains the contents of a formatted field "Mail body".send email screen.jpg
  2. The sent email doesn't contain formatted text and looks like this:result.jpg
  3. I am sending an email through the JWT post function functionality "Send Custom Email". In the post function, the "Email Format" option is HTML and the custom field "Mail body" (cf14911) is a multi-line field with Active Renderer - Wiki Style Renderer.post-function.jpgmail body.jpg
  4. The 'User Default Settings' are as follows:user default setting.jpg

 

1 answer

1 accepted

0 votes
Answer accepted
Marc Koppelaar
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.
February 12, 2024

Hi @Marat Popov 

mail sent is always text or html as a global setting.

If you want formatting in email you need to do this in html encoding.

Wiki Style rendering setting on applies to the field used in the system, this formatting will not be used in sending mail.

JWT has a special function for this.

See the documentation here

Marat Popov February 12, 2024

Hi @Marc Koppelaar 

Thank you very much for your response!

I didn't know about wikiToHTML() function.

Now it works as I expected!

Like Marc Koppelaar likes this

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
SERVER
VERSION
5.4.8
TAGS
AUG Leaders

Atlassian Community Events