15

Does the current GitHub issue search engine provide any way for users to search for reports without certain tag?

Classical use-case would be having a granular grouping such as [bug], [enhancement], [feature] etc. I'd like to search for all items without the [bug] tag.

2 Answers 2

4

I'd be happy to be proven wrong and delete my answer... but I think at the moment the answer is no. Not even the API for github Issues seems to allow this.

For your example, I think your best bet is to search for all labels except [bug]; or create a new label "non-bug". :)

You can of course contact github and put this "filter-out" feature in their suggestion box.

19

You can exclude search results on GitHub using a minus sign. So to search for all issues not labelled as bugs, you could put the following into a search:

type:issue -label:bug

Source.

2
  • This is quite nice, though it does not offer the same view as filtering by labels directly. Apr 18, 2014 at 7:57
  • This is true, I've found it also doesn't seem to work for excluding multiple labels, so: type:issue -label:bug -label:enhancement does not return the results I would expect.
    – lukens
    Apr 20, 2014 at 10:11

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.