ScriptRunner Behaviours is hidding links in helpText

Martin Bayer _MoroSystems_ s_r_o__
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
November 11, 2020

Hi all,

I'm trying to display a link in description of a field using ScriptRunner's Behaviour but it is set as hidden (display: none) during rendering.

My code is:

def field = getFieldById("customfield_" + Constants.PB_DATE_CF_ID)
field.setHelpText("HELP TEXT <a href=\"www.google.com\">HELP</a>")

and the output on the screen is:

 Selection_067.png

I have no idea why. ScriptRunner's version is 5.5.9 and Jira version is 7.6.8 (sorry :))

1 answer

0 votes
Peter-Dave Sheehan
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
December 1, 2020

Can't really help you since I don't have access to those versions right now... but I can say that with 8.5.1 and the latest scriptrunner in my environment, it all works as expected.

You can try your luck at using setDescription

Suggest an answer

Log in or Sign up to answer