How can i change the colour of text in jira text field ?

Hi 

My requirement is to change the colour of text for a custom field which is a text box. This was pretty easy in the previous versions of jira using HTML or JavaScript but this no longer works from 7.x so how can we change the text colour in Jira 7.x.

Is there a plugin which can do this ? 

CUTE plugin is one option they say but really didn't get that to work.

Thanks in advance

--Sravan

2 answers

Hi Sravan,

You can use the announcement banner(Administration->System->Announcement banner) to import custom css and style the customfield you like. 

Regards,

Peter

Hi Sravan, 

inspect the html of the page(e.g. for chrome you can use the developer tools) and see the id which is applied to the value of the customfield(usually customfield_XXXX-val, where XXXX is usually the id of the customfield). After that go to Administration->System->Announcement banner and enter the following style in the announcement field(assuming that the id of the customfield is 10100)

<style>#customfield_10100-val{color:red}</style>

Here is a sample screenshot

Example.png

Hi @Peter Geshev,

I am sorry but could you be more elaborate regarding this. How can I copy the css from the banner.
I have a custom field which accepts text (text box). I need the text input to be red in colour. Also we would like to display the field name in bold letters. Kindly refer to the image attached.

Screen Shot 2016-09-15 at 10.25.01 pm.png

I need the "Impact Description" like so and the text in red can this be done ?

Thanks

--Sravan

Suggest an answer

Log in or Join to answer
Community showcase
Sarah Schuster
Posted Jan 29, 2018 in Jira

What are common themes you've seen across successful & failed Jira Software implementations?

Hey everyone! My name is Sarah Schuster, and I'm a Customer Success Manager in Atlassian specializing in Jira Software Cloud. Over the next few weeks I will be posting discussion topics (8 total) to ...

3,296 views 14 20
Join discussion

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot