TIL: Filtering GitHub Issues by Label

The search modifiers for github issues are not well documented. I dug around and finally found out how to search for issues with no labels, and how -and and -or searches work

Find issues with no label at all

is:issue no:label

Find issue with labels “this-label” but not “not-that-label”

is:issue label:this-label -label:not-that-label

Find issues with labels “this-label” and “that-label”

is:issue label:this-label -label:and-that-label

Find issues with labels “either-this-label” or “or-that-one” or “or-all-of-them”

is:issue label:either-this-label,or-that-one,or-all-of-them


Got thoughts on this post? Join the conversation on Mastodon!