change font and text color

Ray Shekane March 15, 2021

we need to send out email with the Automation process to users but we need to change the text color according to severity, Red, Orange, Green 

we also like to change font size.

 

1 answer

0 votes
Bill Sheboy
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.
March 15, 2021

Hi @Ray Shekane  -- Welcome to the Atlassian Community!

What have you tried thus far? Are you using automation rules and HTML in the messages?

These HTML ones worked for me in an email sent from an automation rule:

Some fonts and color examples:
<p style="font-family: times, serif; font-size:64pt">Formatted with inline font style.</p>
<font color="red">Red</font>
<font color="orange">Orange</font>
<font color="green">Green</font>

Best regards,

Bill

Ray Shekane March 17, 2021

we will try and let you know,

Thanks

Ray Shekane March 17, 2021

Hello Team,

Priority has been upgraded by {{ initiator.displayName }} to <b> <font color="red"> {{customField_10117}} </font></b> for Bug Internal {{issue.key}} - {{issue.summary}}, on {{issue.updated.format("MM/dd/yyyy")}} at {{now.minusHours(5).shortTime}}.

This issue is assigned to {{issue.assignee.displayName}}.

 

we have been using the above code for the font and text colors. we were looking to expand on the options for both. so if you have any documentation, it would be appreciated

Bill Sheboy
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.
March 17, 2021

Hi @Ray Shekane 

I am unclear what you mean by expand on the options.  Perhaps doing a browser search on some HTML examples for your use case will give you ideas on the markup used to meet your needs.

Thanks!

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
FREE
PERMISSIONS LEVEL
Site Admin
TAGS
AUG Leaders

Atlassian Community Events