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

Next challenges

Recent achievements

  • Global
  • Personal

Recognition

  • Give kudos
  • Received
  • Given

Leaderboard

  • Global

Trophy case

Kudos (beta program)

Kudos logo

You've been invited into the Kudos (beta program) private group. Chat with others in the program, or give feedback to Atlassian.

View group

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Can I require both fields of a cascading custom field using JQL?

Hi, 

If I use this: 

"Product Category" not in cascadeOption(none)

I find some issues that do not have a value in the second drop down. 

How can I filter, with JQL, to see only issues that have both drop downs with a value in them?

1 answer

1 accepted

1 vote
Answer accepted
Pramodh Community Leader Jan 29, 2021

Hi @lukec 

First, collect all the parent options in the Cascade field "Product Category"

Then follow the JQL to get the issues where both fields are not empty

project = "projectKey" AND ( !("Product Category[Select List (cascading)]" in cascadeOption("parentOption1", none)) AND !("Product Category[Select List (cascading)]" in cascadeOption("parentOption2", none)) AND !("Product Category[Select List (cascading)]" in cascadeOption("parentOption3", none)) )

And it goes on till you have covered the parentOptions.

This will give the expected results

Please let me know if this works

Thanks,
Pramodh

Awesome thank you

Like Pramodh likes this

Suggest an answer

Log in or Sign up to answer
TAGS

Community Events

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

Find an event

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

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you