How to delete a Child Option in a Cascading Select type customfield?

Hi all,

I got the options in a Cascading Select type customfield like :

op1

childop1 childop2

op2

childop3

How can i delete childop1 in op1 ? I've already got an Options represent this Option List, and in Options interface, I can find removeOption(Option) function, but seems it only works for the first level Option like op1, op2. Can anybody help me ??

1 answer

1 accepted

This widget could not be displayed.
OptionManager.deleteOptionAndChildren(childop1);

I have a multi select cascading list with 5 levels. Depending upon options from 4th level, options come in 5th level. Now I want to remove this whole 5th level. I have deleted all 5th level options which are coming from the 4th level. still the 5th level is showing in the screen with value "please select". How to remove this 5th level? It would be better if it can be removed without any scripts.

Thanks in advance...

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted 3 hours ago in Featured Groups

Hi! I'm Cameron Deatsch, Head of Server at Atlassian and I'm hosting an AMA next week.

Hey team! I'm Cameron Deatsch, Head of Server at Atlassian. I'll be hosting an AMA over in our Questions section of the Community next Monday, so shoot me your questions, upvote others' question...

20 views 0 2
View post

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you