Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Scriptrunner Behaviour: Set description on parent.

Christa Meck September 7, 2025

Hey there.  Hoping for some Adaptavist eyeballs on this one.  

I've set up a Behaviour script hoping to remove the text under Parent field that says: "Your work type hierarchy determines the work items you can select here."

This page makes me believe this is supported: https://docs.adaptavist.com/sr4jc/latest/features/behaviours/behaviours-supported-fields-and-products

When I add some text in, it appears below the text I'm looking to remove:

getFieldById("parent").setDescription("test 123");

screen3.jpg

When I just do 

getFieldById("parent").setDescription("");  

the description text "Your work hierarchy" is still present.

What am I missing?

- Christa

 

 

Pics of Behaviour configuration - minus the project names cause Clients.

screen2.jpgscreen1.jpg

1 answer

0 votes
Akash Singh
Community Champion
September 7, 2025

@Christa Meck It looks like the default text is hardcoded into the Parent field’s UI component as helper text. Adaptavist wouldn’t be able to change this either, since their Behaviour module is based on Forge's UI Modification module which only updates the field description (which is an empty string in this case). I believe the helper text itself is built into the component and isn’t something that can be overridden.

This behavior seems like a bug, so I’d recommend reporting it to Atlassian for further investigation.

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PERMISSIONS LEVEL
Product Admin
TAGS
AUG Leaders

Atlassian Community Events