Hi,
I made a script that make a template value in custom field (type text multi).
I would like to bold some of the lines.. but without success..
How can I do it? * didn't work and <b> didn't work too.
This is my script:
import com.atlassian.jira.component.ComponentAccessor
//def summary = getFieldById("summary").value
//String summaryCAR = summary.toString().substring(0,3);
def desc = getFieldById("customfield_XXXXX")
def defaultValue = """bla bla bla bla bla bla
*bla bla bla*
bla bla bla
<b>bla bla bla</b>
""".replaceAll(/ /, '')
if (! underlyingIssue?.description)
{
desc.setFormValue(defaultValue)
}