Skip to content
This repository was archived by the owner on Nov 18, 2021. It is now read-only.
This repository was archived by the owner on Nov 18, 2021. It is now read-only.

UI way to filter issues by label exclusion #65

Closed

Description

@esquevin

Allowing to filter the issues that doesn't have a specific label is really powefull, especially if combined with other label filters.

It works very well with tags like "nice_to_have" "improvements" "later" that are very powerfull to help you when you start having way too many issues to handle

Activity

  1. JcMinarro commented on Nov 13, 2013

    @JcMinarro

    Do you have any update about that issue ??

  2. dmakhno commented on Nov 28, 2013

    @dmakhno

    Agree, this seems killer-feature

  3. JcMinarro commented on Nov 28, 2013

    @JcMinarro

    I am doing an script that uses GitHub API and does a filter to implement that feature.
    When I finish that script I am going to share it in a repository

  4. jrgrafton commented on Feb 28, 2014

    @jrgrafton
  5. LongChair commented on Apr 10, 2014

    @LongChair

    Completed agreed on the initial feature request. would be nice to be able to manage issues label with excluding some labels.

  6. tuxayo commented on May 16, 2014

    @tuxayo
  7. bkeepers commented on May 16, 2014

    @bkeepers
  8. tuxayo commented on May 16, 2014

    @tuxayo

    Thanks! That will help out even if not the most convenient.

  9. patcon commented on May 16, 2014

    @patcon

    Thanks @bkeepers!

    @esquevin Maybe we could change to issue title to be something about adding a UI for that?

  10. Ozzzie commented on Aug 4, 2014

    @Ozzzie

    A UI not selector would be a useful addition.

  11. changed the title [-]Filter issues by label exclusion[/-] [+]UI way to filter issues by label exclusion[/+] on Aug 12, 2014
  12. linkwoman commented on Sep 3, 2014

    @linkwoman

    thanks @bkeepers !

  13. sharwell commented on Nov 21, 2014

    @sharwell

    You can use the syntax -label:name to do this now. If your label has a space, then -label:"label name" works. For example, you could use the following search to find all issue which are up for grabs, except for code fixes.

    is:open -label:"code fix" label:"up for grabs"

    https://github.com/DotNetAnalyzers/StyleCopAnalyzers/issues?q=is%3Aopen+-label%3A%22code+fix%22+label%3A%22up+for+grabs%22

  14. prohor33 commented on Feb 12, 2015

    @prohor33

    thank you @bkeepers!!!

  15. 57 remaining items

  16. TPS commented on Apr 28, 2019

    @TPS
    Collaborator

    AFAICT, -no:label can do it, but, on mobile, I don't see a UI option for labels @ all.…

    @lukehefson How about it?

  17. goodmind commented on Apr 29, 2019

    @goodmind

    -no:label doesn't work as expected

  18. lukehefson commented on Apr 29, 2019

    @lukehefson

    how to search all issues with any label, like no:label but any:label?

    We currently don't support this.

    @goodmind Could I ask what your use case is?

  19. goodmind commented on Apr 29, 2019

    @goodmind

    Just wanted to compare number of issues with labels and without them

  20. lukehefson commented on Apr 29, 2019

    @lukehefson

    Just wanted to compare number of issues with labels and without them

    Interesting! Thanks for letting us know 😄

    Not ideal– but you could use is:issue no:label and then take the number of open and closed from the list and add them together and then subtract that from the total number of issue. So for this repo that would currently be:

    • 386 Open + 261 Closed = 647 issues without a label
    • 1067 - 647 = 420 issues with a label
  21. maxisam commented on Jun 18, 2019

    @maxisam

    I just tried is:open is:issue -label:backlog in one of my private repo

    Apparently there is a bug because It returns some close issues. Without is:open, it returns all close issues.

    If I reopen those issues and close them again, everything works as expected.

  22. cryptiklemur commented on Jan 27, 2020

    @cryptiklemur

    -review:changes-requested Doesn't seem to work as expected.

  23. reindert-vetter commented on Jan 19, 2021

    @reindert-vetter

    @aequasi try review:-changes-requested

  24. hepcat72 commented on Jan 19, 2021

    @hepcat72

    I think I'd count this done, but if any objection (the only 1 can think of is keyboard use, which may be awkward on mobile), please comment, & I'll reopen! 🙇

    OK, so should I create a new issue for this contribution to the discussion on this issue?

  25. asfernandes commented on Jan 22, 2021

    @asfernandes

    Would be good to support wildcard in exclusion. For example: -label:"component: *"

  26. ndom91 commented on Mar 24, 2021

    @ndom91

    With a label "dependencies", for example. "-label:dependencies" did the trick 👍

  27. hepcat72 commented on Mar 24, 2021

    @hepcat72

    With a label "dependencies", for example. "-label:dependencies" did the trick 👍

    Perhaps you aren't responding WRT the request for a wildcard, but that doesn't to the trick to find issues without "component:*" labels. E.g. if I have a series of labels such as component:reporting, component:usage, component:GUI, component:debug, component:options... and I search for -label:component to find issues without a component label, it filters 0 issues.

  28. ndom91 commented on Apr 23, 2021

    @ndom91

    With a label "dependencies", for example. "-label:dependencies" did the trick +1

    Perhaps you aren't responding WRT the request for a wildcard, but that doesn't to the trick to find issues without "component:*" labels. E.g. if I have a series of labels such as component:reporting, component:usage, component:GUI, component:debug, component:options... and I search for -label:component to find issues without a component label, it filters 0 issues.

    Yeah, that obviously doesn't fix the wildcard situation. What might work in your case though, is the following:

    -label:component:reporting -label:component:usage ...
    

    I know its annoying, but you can save it as a filter in the Github notification page so you only have to type it in once.

  29. hepcat72 commented on Apr 23, 2021

    @hepcat72

    I think when you have more than a couple categories of labels and want to do more than a simple search and combine a couple of those, then saving shortcuts doesn't seem to scale well, but thanks for the tip. That does seem useful.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions