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
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.
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks Nic!! I will try this today and see what I can come up with.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.