You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Nov 18, 2021. It is now read-only.
Repository navigation
This repository was archived by the owner on Nov 18, 2021. It is now read-only.
I want to filter labels using a query like label:bug OR label:feature. Is there a way to do this? Seems to only support AND ATM.
Reacted by TPS, Mike Croft, Dan Bovey, Edwin Khoo, Jakub Sztandera, reit-c, Daniel Galasko, Sam Reid, Justin Wyne, Klaas Pieter Annema and 665 more
Reacted by Jeremy Kassis, Calvin Leung Huang, Martin Silva, Mike Over, Peter Shankar, Alex Evdokimenko, Ryan B., Pascal Loth, Phil Freo, Guillaume Perchais and 51 more
Reacted by Jakub Sztandera, Wim Mostmans, Ryan L McIntyre, Eric Saboia, Jeremy Kassis, Nick Whyte, Calvin Leung Huang, Martin Silva, Nejc Župec, Jake Gibbons and 80 more
Reacted by Lucas Vazquez, Mika, Dan Stauffer, mattdelaf, Piotr, Fedor Chelnokov and Khau Ho
Reacted by Hsing-Hui Hsu, Ninni Victoria Bergquist, Roman Marusyk, Warfront1, Tom Denham, Donghyun (Anthony) Kim, Anup Narkhede, Anon Ray, Anya Li, Carl de Billy and 20 more
This has been changed in the current GitHub version: By default labels now use OR
I'm not seeing this. If I filter by two labels, the search performs an AND
Reacted by Shane McDonald, Dan Luria, Peter Shankar, Guilherme Britz Videira, Nelson Estrada, jesus2099, Artem Pelenitsyn, Sarthak Suri, Kyle Delaney, Glenn 'devalias' Grant and 3 more
Having an option between OR and AND would be fantastic - a use case at my org is that many of our PRs have a help wanted or ready for review label, both of which mean that the PR needs attention, and there's no way to have a single filter that captures both.
Reacted by Marcus Wendt, Satia Herfert, Ian Welsh, Peter Shankar, Ankush Gupta, Pharap, David Refoua, jemmima, Craig Brett, slav-bukhal-gcm and 4 more
Also it would be nice to have OR for search by authors
Reacted by João Duarte, yuriy-harbuzyuk, Oli Treadwell (he/him), Alex, David Parker, Osvaldo da Rocha, Nuno Rodrigues, Matthias Lindinger, Priyanka Altman, Josh Romero and 21 more
Reacted by Gonçalo Cunha, Paulo Silva, soaresrui, Mac Gainor, Jan Heuermann, Thibaut ETIENNE, Calvin Leung Huang, Derek Li, slve, Vinh Phong Buu and 23 more
@jotaen - I am sorry about this. I was just over excited about possibility to use logical OR in issues filtering and wanted to upvote :) 3 different teams are using shared repo for issue tracking on our end which creates a need for labeling that looks like this:
Once I want to see all issues that are in QA, I have to go over each label and look at them individually. Ideally, I would like to sum them up.
Reacted by Jan Heuermann, Jonathan Zhao, José Cage , Peter Shankar, David Refoua, Phureewat A, Peter Flynn and Glenn 'devalias' Grant
To be fair, closing an issue does nothing in terms of moving content. A bot can still read and move the comments and even a clossed issue can still be converted to a discussion (just tested to make sure). I think the issues here should be closed to indicate that future discussion should be done on the official forums and that this is here just for archival purposes.
What's likely to happen in terms of migration is that issues will be transferred to github/feedback and then converted to discussions there. Again, no impact if the issue is closed.
There may be no ‘technical limitation’, but by closing the issue it will likely fade into the noise of irrelevant/already fixed/duplicate/etc issues. It’s still an issue, thus it should stay open. At least until any official advice otherwise.
@TPS I agree -- I was locking it temporarily as we received some spam on it (which now looks to be deleted) -- unlocking, but keeping closed as we will comment on updates in the discussions thread. Stay tuned... soon!!!
Activity
TPS commentedon May 2, 2016
Should probably be implemented along with #65. 👍
davidschreiber commentedon Sep 22, 2016
OliverJAsh commentedon Jan 3, 2017
I'm not seeing this. If I filter by two labels, the search performs an
ANDbltierney commentedon Apr 29, 2017
seems to be an 'AND' for both labels in a single issue. What I want is an OR across all issues.
rue-dluria commentedon May 8, 2017
Having an option between
ORandANDwould be fantastic - a use case at my org is that many of our PRs have ahelp wantedorready for reviewlabel, both of which mean that the PR needs attention, and there's no way to have a single filter that captures both.avalan4e57 commentedon Aug 3, 2017
That would be quite helpful! It was a surprise for me when I've found out that there could be no optional logical operators for search.
jkassisbw commentedon Oct 4, 2017
anatoliyarkhipov commentedon Oct 26, 2017
Also it would be nice to have
ORfor search by authorstseabra commentedon Oct 26, 2017
For me its review :)
Suggestions:
alexfornuto commentedon Nov 20, 2017
OBreidenbach commentedon Nov 30, 2017
+1
An 'or' would be great. ;-)
malyuk commentedon Dec 5, 2017
malyuk commentedon Dec 5, 2017
@jotaen - I am sorry about this. I was just over excited about possibility to use logical OR in issues filtering and wanted to upvote :) 3 different teams are using shared repo for issue tracking on our end which creates a need for labeling that looks like this:

Once I want to see all issues that are in QA, I have to go over each label and look at them individually. Ideally, I would like to sum them up.
69 remaining items
Levi-Lesches commentedon Jul 6, 2021
To be fair, closing an issue does nothing in terms of moving content. A bot can still read and move the comments and even a clossed issue can still be converted to a discussion (just tested to make sure). I think the issues here should be closed to indicate that future discussion should be done on the official forums and that this is here just for archival purposes.
What's likely to happen in terms of migration is that issues will be transferred to github/feedback and then converted to discussions there. Again, no impact if the issue is closed.
0xdevalias commentedon Jul 7, 2021
There may be no ‘technical limitation’, but by closing the issue it will likely fade into the noise of irrelevant/already fixed/duplicate/etc issues. It’s still an issue, thus it should stay open. At least until any official advice otherwise.
michellemerrill commentedon Jul 21, 2021
👋🏼 hi everyone, closing this issue in favor of community/community#4507 - be sure to watch this space for updates on this enhancement soon!
TPS commentedon Jul 21, 2021
@michellemerrill Locked resolved doesn't seem quite right yet… or does your update have that quick an ETA? 🤔
michellemerrill commentedon Jul 21, 2021
@TPS I agree -- I was locking it temporarily as we received some spam on it (which now looks to be deleted) -- unlocking, but keeping closed as we will comment on updates in the discussions thread. Stay tuned... soon!!!
RanganaFernando commentedon Jul 22, 2021
If Google owns Github, they will definitely give this feature.
but you know Microsoft, they don't care
emmaviolet commentedon Aug 2, 2021
@TPS it was a fairly quick ETA! https://github.blog/changelog/2021-08-02-search-issues-by-label-using-logical-or/
Do head to the feedback issue with any comments community/community#4507
TPS commentedon Aug 2, 2021
@emmaviolet Just to find out, is that comma syntax usable w/ any other filters, e.g.,
user:,org:, &c?emmaviolet commentedon Aug 5, 2021
@TPS sorry, I missed this! Currently this only works with issue labels. We could look into the others though :-)