I'm using the github issue tracker for the first time, and I'm trying to manage a set of about 50 open issues. I would like to filter the set using standard Boolean queries over labels. But all I can figure out how to do is AND queries.
For example, I can show all issues that are labelled both view/controller
and easy meat
. But I do not know how to do any of the following queries:
Show me all open issues that are labeled view/controller
but are not labeled easy meat
.
Show me all open issues that are labeled either major refactoring
or needs thought
.
Show me every open issue that does not have any label.
I've searched and I've RTFM, and I can't find a way to ask these kinds of queries. Are such queries even possible? If so, how does one ask them?
This is possible since GitHub introduced the advanced filters.
Show me all open issues that are labeled
view/controller
but are not labeledeasy meat
.
is:open is:issue label:"view/controller" -label:"easy meat"
Notice the -
before label:
which says do not give me the issues containing this label.
Show me all open issues that are labeled either
major refactoring
orneeds thought
.
This is not supported (using label:A label:B
means A and B instead of A or B) but you can do two different queries:
is:open is:issue label:"major refactoring"
is:open is:issue label:"needs thought"
Show me every open issue that does not have any label.
Use the no:label
query:
is:open is:issue no:label
As additional info, you can refer to the GitHub documentation. And, https://github.com/issues
can be your playgroud–being authenticated, you can search all the issues from repositories you have read access!
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With