Skip to content

Bug 1993332 - Create extension that allows for dynamically adding whiteboard tags to webhook payloads if cerftain criteria are matched - #2501

Merged
dklawren merged 3 commits into
mozilla:masterfrom
dklawren:1993332
Oct 17, 2025

Conversation

@dklawren

@dklawren dklawren commented Oct 16, 2025 •

Copy link
Copy Markdown
Collaborator

Creates a new JiraWebhookSync extension that dynamically adds whiteboard tags to webhook payloads when certain criteria are matched, supporting integration between Bugzilla and Jira systems.

  • Adds webhook hook system allowing extensions to modify payloads before sending
  • Implements JiraWebhookSync extension with configurable product/component matching rules
  • Provides comprehensive test coverage for the webhook tag addition functionality

…teboard tags to webhook payloads if cerftain criteria are matched
@dklawren
dklawren requested review from cgsheeh and Copilot October 16, 2025 01:16

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

Creates a new JiraWebhookSync extension that dynamically adds whiteboard tags to webhook payloads when certain criteria are matched, supporting integration between Bugzilla and Jira systems.

  • Adds webhook hook system allowing extensions to modify payloads before sending
  • Implements JiraWebhookSync extension with configurable product/component matching rules
  • Provides comprehensive test coverage for the webhook tag addition functionality

Reviewed Changes

Copilot reviewed 7 out of 7 changed files in this pull request and generated 5 comments.

Show a summary per file
File Description
external_test_api.pl Adds test endpoints for storing and retrieving webhook payloads
extensions/Push/lib/Connector/Webhook.pm Adds webhook_before_send hook and reorders imports
extensions/JiraWebhookSync/template/en/default/admin/params/jirawebhooksync.html.tmpl Admin interface template for configuration parameters
extensions/JiraWebhookSync/t/bmo/jira_webhook_sync.t Comprehensive test suite for webhook tag functionality
extensions/JiraWebhookSync/lib/Config.pm Configuration parameter definitions and JSON validation
extensions/JiraWebhookSync/Extension.pm Main extension logic for webhook processing and tag addition
extensions/JiraWebhookSync/Config.pm Extension metadata and module requirements

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

Comment thread external_test_api.pl Outdated
Comment thread extensions/JiraWebhookSync/t/bmo/jira_webhook_sync.t Outdated
Comment thread extensions/JiraWebhookSync/t/bmo/jira_webhook_sync.t Outdated
Comment thread extensions/JiraWebhookSync/Extension.pm
Comment thread extensions/JiraWebhookSync/Extension.pm Outdated
Comment thread extensions/JiraWebhookSync/Extension.pm Outdated
@dklawren
dklawren requested a review from cgsheeh October 17, 2025 19:16

@cgsheeh cgsheeh left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@dklawren
dklawren merged commit 4f0a116 into mozilla:master Oct 17, 2025
8 checks passed
@dklawren
dklawren deleted the 1993332 branch October 17, 2025 20:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants