no webhook triggers when click the start review button #7540

Closed
opened 2025-11-02 07:29:08 -06:00 by GiteaMirror · 4 comments
Owner

Originally created by @lchrennew on GitHub (Jul 3, 2021).

  • Gitea version (or commit ref): 1.14.3
  • Git version:
  • Operating system:
  • Database (use [x]):
    • PostgreSQL
    • MySQL
    • MSSQL
    • SQLite
  • Can you reproduce the bug at https://try.gitea.io:
    • Yes (provide example URL)
    • No
  • Log gist:

Description

...

Screenshots

image

Originally created by @lchrennew on GitHub (Jul 3, 2021). <!-- NOTE: If your issue is a security concern, please send an email to security@gitea.io instead of opening a public issue --> <!-- 1. Please speak English, this is the language all maintainers can speak and write. 2. Please ask questions or configuration/deploy problems on our Discord server (https://discord.gg/gitea) or forum (https://discourse.gitea.io). 3. Please take a moment to check that your issue doesn't already exist. 4. Make sure it's not mentioned in the FAQ (https://docs.gitea.io/en-us/faq) 5. Please give all relevant information below for bug reports, because incomplete details will be handled as an invalid report. --> - Gitea version (or commit ref): 1.14.3 - Git version: - Operating system: <!-- Please include information on whether you built gitea yourself, used one of our downloads or are using some other package --> <!-- Please also tell us how you are running gitea, e.g. if it is being run from docker, a command-line, systemd etc. ---> <!-- If you are using a package or systemd tell us what distribution you are using --> - Database (use `[x]`): - [ ] PostgreSQL - [ ] MySQL - [ ] MSSQL - [ ] SQLite - Can you reproduce the bug at https://try.gitea.io: - [ ] Yes (provide example URL) - [ ] No - Log gist: <!-- It really is important to provide pertinent logs --> <!-- Please read https://docs.gitea.io/en-us/logging-configuration/#debugging-problems --> <!-- In addition, if your problem relates to git commands set `RUN_MODE=dev` at the top of app.ini --> ## Description <!-- If using a proxy or a CDN (e.g. CloudFlare) in front of gitea, please disable the proxy/CDN fully and connect to gitea directly to confirm the issue still persists without those services. --> ... ## Screenshots ![image](https://user-images.githubusercontent.com/1522365/124361375-794d9c80-dc61-11eb-90c0-0e5a849975ea.png) <!-- **If this issue involves the Web Interface, please include a screenshot** -->
GiteaMirror added the issue/needs-feedback label 2025-11-02 07:29:08 -06:00
Author
Owner

@jpraet commented on GitHub (Jul 3, 2021):

Should it trigger a webhook? It is a "pending" review. The comments are only visible to you until you submit the review.

@jpraet commented on GitHub (Jul 3, 2021): Should it trigger a webhook? It is a "pending" review. The comments are only visible to you until you submit the review.
Author
Owner

@lchrennew commented on GitHub (Jul 4, 2021):

Should it trigger a webhook? It is a "pending" review. The comments are only visible to you until you submit the review.

I see, if there's any API can fetch these comments and their positions, this webhook is unneccesary. Is there?

@lchrennew commented on GitHub (Jul 4, 2021): > Should it trigger a webhook? It is a "pending" review. The comments are only visible to you until you submit the review. I see, if there's any API can fetch these comments and their positions, this webhook is unneccesary. Is there?
Author
Owner

@jpraet commented on GitHub (Jul 4, 2021):

Yes there is. You can find the id of the pending review with https://try.gitea.io/api/swagger#/repository/repoListPullReviews.
Then, you can access the comments with https://try.gitea.io/api/swagger#/repository/repoGetPullReviewComments.

@jpraet commented on GitHub (Jul 4, 2021): Yes there is. You can find the id of the pending review with https://try.gitea.io/api/swagger#/repository/repoListPullReviews. Then, you can access the comments with https://try.gitea.io/api/swagger#/repository/repoGetPullReviewComments.
Author
Owner

@lchrennew commented on GitHub (Jul 4, 2021):

Yes there is. You can find the id of the pending review with https://try.gitea.io/api/swagger#/repository/repoListPullReviews.
Then, you can access the comments with https://try.gitea.io/api/swagger#/repository/repoGetPullReviewComments.

That's great! Thank you very much!

@lchrennew commented on GitHub (Jul 4, 2021): > Yes there is. You can find the id of the pending review with https://try.gitea.io/api/swagger#/repository/repoListPullReviews. > Then, you can access the comments with https://try.gitea.io/api/swagger#/repository/repoGetPullReviewComments. That's great! Thank you very much!
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/gitea#7540