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 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 Sign up to answer
Community showcase
Published Jan 08, 2019 in Jira

How to Jira for designers

I’m a designer on the Jira team. For a long time, I’ve fielded questions from other designers about how they should be using Jira Software with their design team. I’ve also heard feedback from other ...

875 views 3 9
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