[bug report] Pull request comments API endpoint is empty #42725
Replies: 14 comments 11 replies
-
Hi @queenofcorgis @rileybroughten sorry to bother you guys, but this is kinda "High Priority" as the API is not working as it should |
Beta Was this translation helpful? Give feedback.
-
I'm seeing the same thing as well. This appears to be a major + blocking regression of a primary API function. @queenofcorgis please help us get some visibility here |
Beta Was this translation helpful? Give feedback.
-
Hi there! I passed this along to the Pull Requests team when first reported, I will follow up with them now that there has been an additional report - if you have any more details that may be relevant, please share them here. |
Beta Was this translation helpful? Give feedback.
-
@queenofcorgis Any news? |
Beta Was this translation helpful? Give feedback.
-
@queenofcorgis yes, all the PRs are having this empty comments issue, with my token, with the robot token, it doesn't matter. |
Beta Was this translation helpful? Give feedback.
-
@queenofcorgis For me, it returns 6 comments, but it is not what we expect this endpoint to return. It is returning only the review comments. I expected to also see these comments:
But I only get the comments from this review: |
Beta Was this translation helpful? Give feedback.
-
@queenofcorgis Any news? |
Beta Was this translation helpful? Give feedback.
-
@queenofcorgis any news? |
Beta Was this translation helpful? Give feedback.
-
@queenofcorgis Any news? |
Beta Was this translation helpful? Give feedback.
-
@tryvin @gpressutto5 @faoiseamh |
Beta Was this translation helpful? Give feedback.
-
@tryvin @simon-enplore I'm continuing to check in with the Pull Requests team, but no updates as of yet - really appreciate the patience! |
Beta Was this translation helpful? Give feedback.
-
Reporting back, we tagged in a new team member who reviewed this thread and there may be some confusion here. Issue comments and commit comments will not be returned. Only Pull Request review comments will be returned with the API. Check out our docs for more details. That being said, if you still continue to experience an issue with review comments, please open a ticket with our Support team. |
Beta Was this translation helpful? Give feedback.
-
The pulls endpoint is still returning empty data for me. Followed the docs and using curl: curl -L -H "Accept: application/vnd.github+json" -H "Authorization: Bearer " -H "X-GitHub-Api-Version: 2022-11-28" https://api.github.com/repos/chvolk/Fullmetal/pulls. Is there an update on this? |
Beta Was this translation helpful? Give feedback.
-
What I am experiencing is that the issues/.../comments endpoint only returns comments that were made by the PR author. Comments by others can be seen in the PR but are not returned. I can reliably reproduce this. That may be why some are saying that it is empty - since you will see empty if the author did not leave a PR level (issue) comment. |
Beta Was this translation helpful? Give feedback.
-
Select Topic Area
Bug
Body
Hey Guys, so, I think that after this last API update the pull request comments API is broken. I noticed this because our "Danger-JS" settings is set to remove previous comments it created, and it has been a while since it hasn't deleted them.
When I investigated this further, using a personal token from my own account, I noticed that all
repos/ORG HERE/REPO HERE/pulls/PR NUMBER HERE/comments
were returning an empty JSON, this is one of the tests github request id:x-github-request-id: 3787:35B4:8BA2C0:9FABF2:63AB544B
Can someone check this out?
Beta Was this translation helpful? Give feedback.
All reactions