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 for Jira DC - Description above field

Edited

Hey team,

I've been trying a few things to see whether I can move a question (similar to a JSD offering) above my field using ScriptRunner behaviours. For context, I have 3-4 fields with some dynamic requirements, hiding, label removal etc.

I am using customfield.setDescription() to set the description and add some customised div styles to the working to make it bigger and more obvious, however it's still underneath the field option rather than above it.

Ideally I'd like to have my description or some help text above the field similar to a question and answer scenario. Does anyone know whether there is a feature in ScriptRunner i've not yet considered or whether it's just not possible.

Thanks!

1 answer

1 vote
Fabio Racobaldo _Herzum_
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
Sep 26, 2023

Hi @Samuel Stephens ,

using a behaviour you can prepopulate description. You should retrieve field and the set content on field or in the description on the fly.

Something like this :

 

def descriptionFF = getFieldById("description")
descriptionFF.setHelpText("Your field description here")
Hope this helps,
Fabio

Hey @Fabio Racobaldo _Herzum_

Apologies, it may not have been clear what I'm looking for.
I have no issue setting help text as you've described, my issue is that the help text still only shows between the field and the description.

I'd like to be able to put text above the field itself like below:

Is this text above the box?

Yes

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events