How Do I Search for Cascading Option where the second option is blank?

We have a custom field that uses the Cascading Option. So you select something from a pull-down on the left and then you're supposed to select something from the pull-down on the right. But sometimes people don't select anything from the pull-down on the right.

I want to create a Filter that will show me all of the Issues for which someone has selected "JEFF" in the pull-down on the left but has not selected anything from the pull-down on the right.

How do I do that? (Assume that "JEFF" is "cascadeOption (1111)")

1 answer

1 accepted

customFieldNameOrId in cascadeOption("JEFF", none)

Create a new filter with the JQL above, and be sure to replace customFieldNameOrId with the name of the cascading select field or Id that you want to query.

Thank you. That works (well, the none part does. The "JEFF" part isn't working for me, but the 1111 works there, and the none part is what I was looking for.)

Glad to hear it works! The "JEFF" part came from your example, since you said it needed to be in the left-side option of the cascading select. You can certainly replace that with any value from the left-side option (including the 1111, as you mentioned above) to vary your results. Enjoy!

Suggest an answer

Log in or Sign up to answer
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Julia Dillon
Posted Apr 17, 2018 in Jira

Tell us how your team runs on Jira!

Hey Atlassian Community! Today we are launching a bunch of customer stories about the amazing work teams, like Dropbox and Twilio, are doing with Jira. You can check out the stories here. The thi...

767 views 2 19
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