Forums

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

JMCF custom field change text colour

Michael May 3, 2019

Hi,

I have JMCF field that uses a java script to calculate the difference between two dates and returns a number.  I am looking this field to change red when it goes below a certain number, is there a way to do to this? 

Thanks.

1 answer

0 votes
Ben Poulson
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.
May 3, 2019

If you have the field as text rather than a number, you can use Jira markdown to change the color of the text. Example:

{color:red}This text will be red{color}
This text will be black
{color:blue}This text will be blue
This line too{color} But not this

Produces the text in this attached screenshot
text.PNG

Suggest an answer

Log in or Sign up to answer