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 Sign up to answer
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Published yesterday in Jira Software

How large do you think Jira Software can grow?

Hi Atlassian Community! My name is Shana, and I’m on the Jira Software team. One of the many reasons this Community exists is to connect you to others on similar product journeys or with comparabl...

346 views 4 9
Read article

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