mozilla / bugbot

A Mozilla release management tool to send reminders to Firefox developers and improve Bugzilla metadata
BSD 3-Clause "New" or "Revised" License
39 stars 67 forks source link

Use Bugzilla webhooks to react to bug openings/changes #1107

Open marco-c opened 3 years ago

marco-c commented 3 years ago

It would make sense especially for scripts such as the spam one or the component one, where we want to act as quickly as possible.

The UI to enable webhooks is located at https://bugzilla.mozilla.org/userprefs.cgi?tab=webhooks. There is some simple documentation located at https://bugzilla.mozilla.org/page.cgi?id=webhooks.html.

globau commented 2 years ago

This will also need to listen for changes to a bug's groups, so if an invalid bug is just made public it'll be handled by the bot.

blackdustbb commented 1 year ago

can you please tell where is webhook in 5.0.6, I am not able to find it in the preferences tag

globau commented 1 year ago

can you please tell where is webhook in 5.0.6, I am not able to find it in the preferences tag

This feature is only on bugzilla.mozilla.org, which is running a highly customised version of Bugzilla.

blackdustbb commented 1 year ago

Can I setup webhook in Bugzilla 5.0.6. Because while I am trying to set it up I am facing Issue Can't locate Bugzilla/Extension/Webhooks/Webhook.pm in @INC whereas this file is there.

globau commented 1 year ago

Sorry, but there's no guarantees that taking parts of bugzilla.mozilla.org and trying to make them work in any other Bugzilla installation will work. While bugzilla.mozilla.org started off as a version of Bugzilla, it's best to consider it a different product with the same origins designed specifically for Mozilla's workflow.

https://www.bugzilla.org/support/ is a better place to ask for help with Bugzilla.