Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Cascading Field in Automation

Matthew Rutledge February 14, 2024

I am trying to create an automation rule which looks at a cascading custom field and looks at one parent option, with multiple child options.  At this time, I seem to only be able to have one parent and one child, or it fails.

example JQL query, working:  "*custom field name*[Select List (cascading)]" = cascadeOption("parent option", "child option")

I have tried using the IN operator instead of '=' and listing additional children after the first, but this gives me a JQL error.  

example list query, not working: "*field name*[Select List (cascading)]" IN cascadeOption("parent option", "child option", "2nd child option", etc)

I would really like to avoid writing out a large number of single parent, single child queries around this cascading field if at all possible.

Can I separate the child options in separate query or place them after another AND operator or something?  I have not seen anything up to this point in documentation related to this and am not sure how to proceed.  I have tried cascadeOption.child() and a couple other similar options, but none seem to work.

1 answer

1 accepted

0 votes
Answer accepted
John Funk
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
February 14, 2024

Hi Matthew,

At first glance, I would say try using an OR in the query like this:

 "custom field name[Select List (cascading)]" = cascadeOption("USA", "Tennessee") OR  "custom field name[Select List (cascading)]" = cascadeOption("USA", "Alabama")

Matthew Rutledge February 15, 2024

Thank you, I hadn't yet considered that.  I will give that a try.

Like John Funk likes this

Suggest an answer

Log in or Sign up to answer
AUG Leaders

Atlassian Community Events