how can I find github issues by close date?

Viewed 3546

Is there a way to get the GitHub issues that were closed on-or-near a date? I have a commit in my codebase that does not reference an issue, and I'm wondering if it was done in response to a particular issue.

Ideally, I'd like to say "show me issues that were closed after August 10"

2 Answers

Have a look at GitHub Searching issues and pull requests .

An example would be something like:

state:closed updated:>=2013-02-01

with the date format as described in the docs as updated:YYYY-MM-DD

Use closed: to search for issues based on date closed. For example, to find issues closed after Aug 10, 2020, do

closed:>2020-08-10

You can also use a range. For example, to find issues closed in February or March of 2020, do:

closed:2020-02-01..2020-03-31

On the other hand, using state:closed updated:>=YYYY-MM-DD returns all issues that are currently closed and have been updated anytime on or after a particular date, which is not necessarily the same thing.

See the GitHub doc sections on the "closed" qualifier and working with dates.

Related