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!!



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 vote

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 Sign up to answer
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Published Thursday in Jira

5 ways you can make the most of Jira Software and Bitbucket Cloud

As part of the Bitbucket product team I'm always interested in better understanding what kind of impact the use of our tools have on the way you work. In a recent study we conducted of software devel...

78 views 0 5
Read article

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