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

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
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Posted Tuesday in Uncategorized

Friday fun: how many celebrates Midsummer holiday or is this a Swedish tradition only?

Any other country that celebrates Midsummer holiday (this friday 22 June)?  

47 views 3 1
Join discussion

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