Search GitHub Issues by label prefix, suffix, and contains
On the new GitHub Project Boards, you can use wildcard characters to search issue labels.
1
2
3
label:"prefix*" // i.e. Label starts with
label:"*suffix" // i.e. Label ends with
label:"*contains*" // i.e. Label contains
NOTE: As of the publication of this article, partial label filtering is only available in GitHub’s new project boards, not a repository’s Issues tab.
Examples
Searching GitHub Issues by Label Prefix
Filtering my Binary Clock issues by label:"h*"
finds all the issues which have a label that starts with the letter h
, in this case hacktoberfest
and help wanted
.
Searching GitHub Issues by Label Suffix
Filtering my Binary Clock issues by label:"*ment"
finds all the issues which have a label that ends with the letters ment
, in this case document
and enhancement
.
Searching GitHub Issues by Label Contains
Filtering my Binary Clock issues by label:"*first*"
finds all the issues which have a label that contains the letters first
, in this case good first issue
and first timers only
.
This post is licensed under CC BY 4.0 by the author.