Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Filter GitHub issues matching one of multiple milestones (OR filter)

I'm trying to filter my GitHub issues based on an OR filter of milestones. Specifically, I want to retrieve all issues that are in milestone X or milestone Y.

Things I've tried:

  • milestone:X,Y
  • milestone:"X","Y"
  • milestone:X milestone:Y
  • -no:milestone (aka show me issues that have any milestone by way of not showing me issues with no milestones)

I'm using GitHub Enterprise so don't have the option of installing additional products.

Edit: Seems like per Can I search github labels with logical operator OR? searching labels by logical OR works (for issues), but the same syntax for milestones did nothing for me.

like image 816
fiona Avatar asked Sep 12 '25 11:09

fiona


1 Answers

Update: This answer only works in GitHub Projects, it is not supported in the issues page yet.


It is now possible to filter multiple milestones, you just need to separate them using commas. E.g:

milestone:"v1.0.0","v1.0.1","v1.0.2"

enter image description here

like image 69
David Miguel Avatar answered Sep 14 '25 00:09

David Miguel