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

GraphQL API does not support getting pull requests updated since a date

In the v4 GraphQL API, the `Repository.issues` field supports a `filterBy` parameter where you can specify a `since` field to get all the issues that have been updated since a date. However, the `Repository.pullRequests` field does not support this.


I noticed that on the v3 API, the Pull Requests endpoint also does not support filtering, however the issues endpoint also returned pull requests, so you could use the Issues endpoint to get pull requests that changed after a specific time. However, it does not appear that the `Repository.issues` field in the v4 API can return pull requests.


Is it possible to have the `filterBy` parameter added to the `Repository.pullRequests` function?

Is there any other workaround besides using the v3 API at this time?