Make custom field appear bold in issue create screen

My Jira version is 6.2.7. I need to make some custom fields on create screen appear bold. I tried the solution provided on this link it does not seems to be working.

Also I came across this link says that custom html and javascript is not allowed with Jira v.6.2.x and above. So is there any way to make the customs fields bold.

Below are the lines I tried pasting in Custom field description field.


<script type="text/javascript">

AJS.$('#customfield_19744').parent().children().first().attr("style","font-weight: bold")



<script type="text/javascript">

a = document.getElementById('customfield_19744').parentNode;

a.setAttribute('style', 'font-weight:bold');


1 answer

0 votes

You can no longer do this in fields, it has to be done by hacking the .jsp files in the core of Jira or in the announcement banner field.

Do you mean that making the custom fields bolder on create screen is possible but it has to be done by doing changes in .jsp files. If yes please let us know the file names or path where we can find them.

Or by injecting it in the announcement banner.

For the .jsp files, I don't know, I always avoid amending core files in Jira. Unless someone else has a good idea here, you'll need to dig it out for yourself.

How do you inject in the announcement banner?

I went to cog --> System --> Announcement banner and entered the script as mentioned below but could not see the custom field in bold. Please advise.

<script type="text/javascript"> a = document.getElementById('customfield_20341').parentNode; a.setAttribute('style', 'font-weight:bold'); </script>

Suggest an answer

Log in or Sign up to answer
Community showcase
Published Nov 27, 2018 in Portfolio for Jira

Introducing a new planning experience in Portfolio for Jira (Server/DC)

In the past, Portfolio for Jira required a high degree of detail–foresight that was unrealistic for many businesses to   have–in   order to produce a reliable long-term roadmap. We're tur...

2,668 views 18 21
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