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

0 votes
Accepted answer
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 yesterday in Featured Groups

Want to know how Atlassians monitor their enterprise deployments?

At Atlassian, we believe in our own products – that's why we use them, even at the enterprise level. Doing so gives us first-hand experience of how they perform at scale; to do this, we monitor each ...

78 views 2 8
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