When I use script runner, is there anyway to change the font size and color for the text? Thanks. 

3 answers

0 vote
Mahesh S Community Champion Jun 12, 2016

Yes, you can set the template as html. When the result is set as html, we will be able to style tags, carrying the font size and font color.

Can you show me how to set the template as HTML? Thanks very much.

Mahesh S Community Champion Jun 12, 2016

In the JIRA Administration-> Add-ons-> Script runner -> Scripted fields. We can define the scripted fields and you can see the portability to get the template of the scripted field. There, you can display the output as html

First - which part of Script Runner are you referring to  ? Scripted Fields maybe or something else ?

0 vote

Which text?  Most of the text ScriptRunner will give you goes through the JIRA templates, so generally the answer will be "no, because it's not ScriptRunner formatting it".

There are some exceptions, where ScriptRunner will be able to use formatting - Mahesh has given you the main one - scripted field output, where your code should generate the raw html for output.  But I'm not sure from your question if that's the area you want.

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,300 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