Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

ScriptRunner Behaviours is hidding links in helpText

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

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
TAGS
Community showcase
Published in Jira

Do you use Jira Cloud with Microsoft Teams?

Hi, Jira users! Do you use Jira alongside Microsoft Teams? We want to hear how you’ve used the power of Jira Cloud and Microsoft Teams (via the Jira Cloud for Microsoft Teams app) to achieve a team...

253 views 1 5
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you