Are you in the loop? Keep up with the latest by making sure you're subscribed to Community Announcements. Just click Watch and select Articles.

×
Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Celebration

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

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.
Nov 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.
Dec 01, 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
TAGS
AUG Leaders

Atlassian Community Events