JIRA issue title formatting

Is it possible to apply text formatting (bold, italics) to JIRA issue title field? Is it perhaps possible to do it with a custom plug-in? I'm talking about bolding selected words in the title.

2 answers

Hi @Arturas Rimkus,

Actually you can do it by adding the following in the announcement banner. This script changes the font, set it as bold and italic. You can change it as you like.

<script type="text/javascript">

(function($){ jQuery(document).ready(function($){

document.getElementById("summary-val").style.fontFamily = "'Times New Roman', Times, serif";
document.getElementById("summary-val").style.fontWeight = "900";
document.getElementById("summary-val").style.fontStyle = "italic";


}); })(jQuery);

Hi Georges. Do I understand correctly that this would only work if I'm displaying the issue summary within the confines of the announcement banner? My ultimate goal is to format the issue titles in the Backlog.

Hi @Arturas Rimkus,

Unfortunately no text field can have different formatting in the database.

That trick is only going to format the summary in places where it is exposed in a style tagged as the summary-val - it'll happen in some places but not all of them (because it's wrapped in different tags in some places) and it's not formatting part of the summary, it's the whole string.

A couple of questions. (1) Would an announcement banner need to be displayed on the page if I wanted to run this script? (2) This script finds element by id and styles it. Can I also search for a specific string in issue titles and then apply the bold style to it if I find it?

1) No, you don't have to put anything in the banner that is visible to the user.  The banner in JIRA is always there, but when it's empty, there's nothing for the browser to do, so nothing really appears.  If you put a script in it, then it'll run the script, not display it (assuming the tags are right, so the browser knows to run it.  You should be able to literally paste in Georges' script as it's spot on)

2) I'm out of my depth with javascript there, as I tend to avoid it.  I am pretty sure you can do it, but the script and output could be quite complex.  You'll need to be transforming something like "We like kittens" into "We <tags to separate words> like <more tags> kittens" and set the surrounding style and the style inside the tags.

Hi @Arturas Rimkus,

1)Nothing will be displayed in the announcement banner.

2)I am not a Javascript expert so I don't know if you can apply a styling to a string. But I doubt it could be done.

Thank you both, you gave me a good starting point, I will investigate further.

3 votes

No, the summary is a plain text field, it has no rendering capabilities.

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted Oct 09, 2018 in Jira Core

How to manage many similar workflows?

I have multiple projects that use variations of the same base workflow. The variations depend on the requirements of the project or issue type. The variations mostly come in the form of new statuses ...

222 views 6 0
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