webhooks created on organizations triggered on PRs lack PR information on some events #1441

Closed
opened 2025-11-02 04:00:58 -06:00 by GiteaMirror · 6 comments
Owner

Originally created by @juanpablo-santos on GitHub (Jan 11, 2018).

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

Description

webhooks created on organizations triggered on PRs lack PR information on some events

occurs at least on synchronized, label_cleared and label_updated events

Originally created by @juanpablo-santos on GitHub (Jan 11, 2018). <!-- 1. Please speak English, this is the language all of us can speak and write. 2. Please ask questions or configuration/deploy problems on our Discord server (https://discord.gg/NsatcWJ) or forum (https://discourse.gitea.io). 3. Please take a moment to check that your issue doesn't already exist. 4. 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.3.2 - Git version: 2.14.3 - Operating system: using official docker image - Database (use `[x]`): - [ ] PostgreSQL - [x ] MySQL - [ ] MSSQL - [ ] SQLite - Can you reproduce the bug at https://try.gitea.io: - [ ] Yes (provide example URL) - [ ] No - [ ] Not relevant - Log gist: ## Description webhooks created on organizations triggered on PRs lack PR information on some events occurs at least on synchronized, label_cleared and label_updated events
GiteaMirror added the issue/staletype/bug labels 2025-11-02 04:00:58 -06:00
Author
Owner

@lunny commented on GitHub (May 21, 2018):

Cannot reproduce this, could you give more details?

@lunny commented on GitHub (May 21, 2018): Cannot reproduce this, could you give more details?
Author
Owner

@juanpablo-santos commented on GitHub (May 23, 2018):

Hi @lunny,

thankls for your time looking into this! we're experiencing that some webhook events, associated to PRs, don't send some information.

f.ex. on synchronize PR events are not the json.pull_request node, or json.sender node is not sent on assigned, synchronize and label PR events. I don't have all the information right now and won't be able to start re-gathering it until mid-next week. We are also on 1.4.0 now, and we tweaked the webhooks receivers ' events and carried on, so I'm not sure if this still happens.

I'll try to update this issue with more specific data as soon as I can

best regards,
juan pablo

@juanpablo-santos commented on GitHub (May 23, 2018): Hi @lunny, thankls for your time looking into this! we're experiencing that some webhook events, associated to PRs, don't send some information. f.ex. on synchronize PR events are not the `json.pull_request` node, or `json.sender` node is not sent on assigned, synchronize and label PR events. I don't have all the information right now and won't be able to start re-gathering it until mid-next week. We are also on 1.4.0 now, and we tweaked the webhooks receivers ' events and carried on, so I'm not sure if this still happens. I'll try to update this issue with more specific data as soon as I can best regards, juan pablo
Author
Owner

@lunny commented on GitHub (May 23, 2018):

@juanpablo-santos Thanks for your detail. BTW, which type webhook did you use?

@lunny commented on GitHub (May 23, 2018): @juanpablo-santos Thanks for your detail. BTW, which type webhook did you use?
Author
Owner

@juanpablo-santos commented on GitHub (May 23, 2018):

Hi @lunny, we're using the Gitea ones

thx!

@juanpablo-santos commented on GitHub (May 23, 2018): Hi @lunny, we're using the Gitea ones thx!
Author
Owner

@stale[bot] commented on GitHub (Jan 25, 2019):

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs during the next 2 weeks. Thank you for your contributions.

@stale[bot] commented on GitHub (Jan 25, 2019): This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs during the next 2 weeks. Thank you for your contributions.
Author
Owner

@juanpablo-santos commented on GitHub (Feb 11, 2019):

Hi,

I'm closing the issue, as it isn't happening any more on http://try.gitea.org (don't know when got fixed, though, it's been a while since I followed up with the issue). Just ftr, I've just tried with https://try.gitea.io/perry123/perry123-test/pulls/1 and I've got the following events, all showing the requested information (json.pull_request, json.sender, etc.):

  • 3533f64a-ce65-4a1f-9a52-768e0b046fe4: opened pull request
  • 2de7a6a9-6139-4c74-9e94-cfd007fbf8dd: new push to PR branch
  • d571becd-cc9f-4014-a716-c46b1bff9a4e: updated pull request
  • 36a81d8d-09d2-4cca-8c6d-7e70b157b8c3: label assigned to PR
  • d259b940-595b-422b-aeb8-b46a5b73f8c8: PR assigned

thx,
juan pablo

@juanpablo-santos commented on GitHub (Feb 11, 2019): Hi, I'm closing the issue, as it isn't happening any more on http://try.gitea.org (don't know when got fixed, though, it's been a while since I followed up with the issue). Just ftr, I've just tried with https://try.gitea.io/perry123/perry123-test/pulls/1 and I've got the following events, all showing the requested information (`json.pull_request`, `json.sender`, etc.): * 3533f64a-ce65-4a1f-9a52-768e0b046fe4: opened pull request * 2de7a6a9-6139-4c74-9e94-cfd007fbf8dd: new push to PR branch * d571becd-cc9f-4014-a716-c46b1bff9a4e: updated pull request * 36a81d8d-09d2-4cca-8c6d-7e70b157b8c3: label assigned to PR * d259b940-595b-422b-aeb8-b46a5b73f8c8: PR assigned thx, juan pablo
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/gitea#1441