JQL to return list of boxes unchecked from checkbox list

Hi All,

Is there any way I can get the list of unchecked boxes via JQL? I have a list with 50+ boxes that we are using and we want to know the boxes that haven't been checked via a JQL query. Any help would be appreciated!!

Thanks

Andrew

2 answers

Hi Andrew,

Try this, for example, you have a checkboxes field: Color with options: red, white, blue.

To filter tickets where red was not selected:

Color is empty or (Color is not empty and color != red)

Please experiment with your 50+ boxes with the 'not in' operator and let us know how it goes.

 

0 votes

Looking for a negative is quite hard.  I don't think you can get a list of unchecked options, I think the best you can do is look for "<field name> is not <option>" and compare it with "<field name> = <option>".  Obviously, as JQL is about finding issues, you'll get issue lists back.

I'm not sure quite what you're looking for, but it might be useful to create a filter for "<field name> is not empty", and then use it in a "filter statistics" gadget on a dashboard set to group by the field. That will give you usage of the ones that are in use, so you can at least compare the gadget with the list of options for the checkbox and see which ones are totally unused (if the gadget lists 67 options and you've got 75 on the list, you know you've got 8 that are unused).  I find it helpful for spotting the low-usage ones as well, for considering merging them with others or removing them.

Thanks Nic!! I will try this today and see what I can come up with.

Suggest an answer

Log in or Join to answer
Community showcase
Sarah Schuster
Posted Jan 29, 2018 in Jira

What are common themes you've seen across successful & failed Jira Software implementations?

Hey everyone! My name is Sarah Schuster, and I'm a Customer Success Manager in Atlassian specializing in Jira Software Cloud. Over the next few weeks I will be posting discussion topics (8 total) to ...

2,772 views 11 18
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
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot