[Enterprise API Bug] Incorrect PR number returned when querying closed PRs with specific branch #138400
Replies: 2 comments
-
💬 Your Product Feedback Has Been Submitted 🎉 Thank you for taking the time to share your insights with us! Your feedback is invaluable as we build a better GitHub experience for all our users. Here's what you can expect moving forward ⏩
Where to look to see what's shipping 👀
What you can do in the meantime 💻
As a member of the GitHub community, your participation is essential. While we can't promise that every suggestion will be implemented, we want to emphasize that your feedback is instrumental in guiding our decisions and priorities. Thank you once again for your contribution to making GitHub even better! We're grateful for your ongoing support and collaboration in shaping the future of our platform. ⭐ |
Beta Was this translation helpful? Give feedback.
-
@fazalkhanz - thank you for reporting this! So our team is able to reproduce - would you mind sharing:
|
Beta Was this translation helpful? Give feedback.
-
Select Topic Area
Bug
Body
Description
When querying the GITHUB Enterprise API for closed pull requests with a specific branch, the API returns the PR number of an open pull request instead of the closed ones.
Steps to Reproduce
{owner}
,{repo}
, and{branch}
with the appropriate values.Expected Behavior
The API should return closed pull requests for the specified branch.
Actual Behavior
The API returns the PR number of an open pull request.
Additional Information
GET /repos/{owner}/{repo}/pulls
state=closed&head={branch}
Beta Was this translation helpful? Give feedback.
All reactions