The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

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

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

Post a new question

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.

DEPLOYMENT TYPE
CLOUD
PERMISSIONS LEVEL
Product Admin
TAGS
AUG Leaders

Atlassian Community Events