Forums

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

Use Live Fields to limit options of Select List Cascading based on selection in another

Trudy Claspill
Community Champion
December 3, 2025

I am attempting to recreate behaviour available with the Multi-Level Cascading app using Appfire Live Fields.

The native Select List Cascading field supports just 2 levels. I want to create two SLC fields to mimic a single 4 level cascading select list.

Has anybody done that?

Let us say I have an SLC field "Levels 1 and 2" that defines the options for levels 1 and 2 of my 4-level list. And I have an SLC field "Levels 3 and 4" that defines the options for levels 3 and 4 of my 4-level list.

Based on the child selection in "Levels 1 and 2" I want to limit the parent selections in "Levels 3 and 4".

Using the UI the Conditions step allows you to select an SLC field, but the Actions step for Hide Options does not allow selection of an SLC field.

My case is too complicated for the UI anyhow, since I would need an IF/Else-If structure, so I was looking at a Build-your-own Action script. But I am not finding an example of how to get the values of parent and child in an SLC field. I am new to this sort of scripting so I may simply not be looking in the correct place.

Any insights are welcome.

1 comment

Comment

Log in or Sign up to comment
Trudy Claspill
Community Champion
December 3, 2025

I have figured out the code to check the value of the child level for "Levels 1 and 2" field, but not the setting of visibility options for the parent level of "Levels 3 and 4".

Looking at the ScriptRunner Behaviours documentation I see that getValue is supported for the SLC field type, but setOptionsVisibility is not. So I am suspecting that there is a limitation on the Atlassian side and the answer is there is no solution for doing this with multiple SLC fields. Instead for levels beyond 1 and 2 I believe I would need to use single-level Select List fields.

Like Calogero Bonasia likes this
TAGS
AUG Leaders

Atlassian Community Events