Create extension that allows for dynamically adding whiteboard tags to webhook payloads if cerftain criteria are matched
Categories
(bugzilla.mozilla.org :: Extensions, enhancement)
Tracking
()
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.
Comment 1•3 months ago
|
||
Comment 2•3 months ago
|
||
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
Description
•