Closed Bug 1993332 Opened 3 months ago Closed 3 months ago

Create extension that allows for dynamically adding whiteboard tags to webhook payloads if cerftain criteria are matched

Categories

(bugzilla.mozilla.org :: Extensions, enhancement)

Production
enhancement

Tracking

()

RESOLVED FIXED

People

(Reporter: dkl, Assigned: dkl)

References

Details

Attachments

(1 file)

Mirroring bugs from BMO to Jira normally requires a special whiteboard tag to be added for the sync to happen. There is a need for bugs from specific products and components to also be mirrored to Jira but should not have to rely on whiteboard tags. The JBI code[1] is based on whiteboard tags and would need to be refactored to work with other criteria to trigger the data to be mirrored. So instead we can add an extension with a hook to BMO itself that will dynamically add the special whiteboard tag to the JSON payload sent to JBI if the bug matches the criteria defined. We will add a config parameter that will define which bugs should be mirrored and what the whiteboard tag is that should be added before sending the payload.

This allows the mirroring to happen without polluting all bugs for a product and component with a special whiteboard tag that noone will need to see anyway.

  1. mozilla/jira-bugzilla-integration: Jira Bugzilla Integration (JBI) - system to sync bugs and issues

Authored by https://github.com/dklawren
https://github.com/mozilla-bteam/bmo/commit/4f0a116bd14ca2e92e1ef1b0c796e80a31437ae7
[master] Bug 1993332 - Create extension that allows for dynamically adding whiteboard tags to webhook payloads if cerftain criteria are matched

Status: ASSIGNED → RESOLVED
Closed: 3 months ago
Resolution: --- → FIXED
See Also: → 1997384
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: