Forums

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

How to change default value text size and colour

Danilo Simic
Contributor
April 10, 2023

Hello everyone, I would like to change the default value of a "Message custom field (for view)" field type.

 

The value that I would like to have is the following:

<h3><a name=""></a><font color="#0033ff">Please, attach the final contract version.</font></h3>

 

However, whenever I save the default value with the text like written above I get the following:

<p>&lt;h3&gt;&lt;a name=""&gt;&lt;/a&gt;&lt;font color="#0033ff"&gt;Please, attach the final contract version.&lt;/font&gt;&lt;/h3&gt;</p>

 

I must be doing something wrong because the Jira Admin that was in the company before me could change the text size and colour like mentioned. I am now trying to add this to another custom field without success.

Thank you.

1 answer

1 accepted

3 votes
Answer accepted
Danilo Simic
Contributor
April 11, 2023

Just found out the solution. These notations have to be used when setting the default value: https://jira.atlassian.com/secure/WikiRendererHelpAction.jspa?section=all

Jira later automatically translates them to HTML so that is why this was happening.

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PERMISSIONS LEVEL
Product Admin
TAGS
AUG Leaders

Atlassian Community Events