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.
First - which part of Script Runner are you referring to ? Scripted Fields maybe or something else ?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Can you show me how to set the template as HTML? Thanks very much.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.