Forums

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

Using automation to change text color to one of the default editor colors

Thomas Wood
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
January 8, 2024

Hi Community,

I am trying to use automation to add templates to stories and tasks, and format/color those templates suitably across both dark and light modes of Jira.

I can currently use the automation rule to format the text as a bold h3 header:

Automation Rule.png

However, the orange color I have chosen is not what appears once the automation runs:

Viewing Mode.png

When I select the description field to edit it, the editor then displays the correct orange color, but saving the field and going back to viewing mode reverts the color to blue again:

Editing Mode.pngEdited Text.png

Switching over to light mode, the color displays as the correct orange in all modes:

Light Mode Edited.pngLight Mode Editing Mode.pngLight Mode Edited Again.png

This is obviously something that Jira is trying to do to combat contrast issues in dark mode.

Is there any way to set the automation rule to use the default color palette available in the text editor, as this is correctly configured to work with dark mode:

Dark Mode Palette Orange.pngLight Mode Palette Orange.pngColor Palette.png

Thanks

1 answer

0 votes
Himanshi
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
January 15, 2024

Hello @Thomas Wood , 

Welcome to the Community!

I suppose you are looking for the feature mentioned in the BUG: : https://jira.atlassian.com/browse/AUTO-755

The workaround mentioned on the BUG is :

Based on testing, HTML encoding the description allows mail delivery to succeed, the documentation for this can be found at: Jira Smart Values - Text fields - HTML Encoding. What this would look like in practice:

{{issue.key}}-{{issue.description.htmlEncode}}

Please try and test it out. Hope it will help.

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
PREMIUM
TAGS
AUG Leaders

Atlassian Community Events