GraphQL API v4 PullRequestFilters Input Object #24323
-
I’m trying to get all issues and pull request since date. For issues it is easy:
Unfortunately same thing can’t be done for PullRequest. It is a bit strange beacuse PullRequest is an Issue anyway. Is there any chance for PullRequestFilters? Or search query is the only way to get it? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
Hi @kongo555, Thank you for being here! Here is a query that would help:
You’ll need to use pagination to fetch further results, and I’d recommend taking a read through the official documentation for using cursors and pages here: https://graphql.org/learn/pagination/. |
Beta Was this translation helpful? Give feedback.
-
AndreaGriffiths11:
Hi andreagriffiths11, thanks for the workaround. Do you know if there are plans to add filterBy to pullRequests? |
Beta Was this translation helpful? Give feedback.
Hi @kongo555,
Thank you for being here! Here is a query that would help:
You’ll need to use pagination to fetch further results, and I’d recommend taking a read through the official documentation for using cursors and pages here: https://graphql.org/learn/pagination/.