Help
cancel
Showing results for 
Search instead for 
Did you mean: 
Copilot Lvl 2
Message 1 of 2

How to query issues filtered by "last updated" date?

I'm trying to grab all of the comments/PRs/issues for a repository that have been updated within the last 2 months. I've figured out how to get all of this information, but I'm not sure how to filter this by date. I can eye-ball this by using the `last` parameter, but this is still a pretty coarse approach.

 

Does anybody know if it's possible to run a query like "give me a list of the issues that were updated in the last 30 days"?

1 Reply
Community Manager
Message 2 of 2

Re: How to query issues filtered by "last updated" date?

You can find information on how to search for issues and pull requests based on when they were created or last updated in our help documentation.

 

Let us know if you have more questions.