Forums

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

Cascading custom field- get child

Dan27
Contributor
June 26, 2019

Hello,

I have a cascading field with 5 levels,

When I return all of the options, I get only the parents:

CustomField x = ComponentAccessor.getCustomFieldManager().getCustomFieldObject("customfield_xxxxx"); //Hierarchy cascading field
Options optionsHierarchy = optionsManager.getOptions(x.getConfigurationSchemes().listIterator().next().getOneAndOnlyConfig());
return optionsHierarchy;

 

 

I want to get the children of this parent, how can I do it?

I'm not taking the value from the issue, I take it like I did in the code.

 

Daniel

0 answers

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events