Forums

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

[Scriptrunner Behaviours Cloud] Hide fields on create screen

Sebastian Krzewiński
Community Champion
July 8, 2025

Hi

 

I have a screen with below fields:

- ABC - select list field with values A and B

- Field1 - text field

- Field2 - text field

- Field3 - text field

- Field4 - text field

Logic is simple:

- when in ABC field user will pick value A, then fields Field1 and Field3 should be visible

- when in ABC field user will pick value B, then field Field2 and Field4 should be visible.

My logic is working but now I'm struggling with hide all fields Field1-4 until user fill pick value in ABC field. Is it possible? How I can do that?

 

Thanks!

1 answer

1 accepted

0 votes
Answer accepted
Tinker Fadoua
Community Champion
July 8, 2025

@Sebastian Krzewiński 

You should add it to the initializer.  Hide all the fields in the initializer. Keep only the one field you want users to pick from.

Only when the user makes a selection that's when the dynamic behavior will kick out.

Best,

Fadoua

Sebastian Krzewiński
Community Champion
July 9, 2025

Hi @Tinker Fadoua 

 

I found and issue. It was a typo in my code... 

Thanks for your message!

Suggest an answer

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

Atlassian Community Events