mozilla / bugbot

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

Enable pronoun substitution in get_bz_params() for efficient filtering #2530

Open benjaminmah opened 3 weeks ago

benjaminmah commented 3 weeks ago

BMO supports pronoun substitution (e.g. %assignee% for the bug assignee as per BMO documentation), which can improve rule efficiency.

Currently, in scripts like uplift_beta.py, a separate filter is applied after retrieving bugs. By using pronoun substitution, we could directly filter for bugs with a needinfo requestee matching the assignee, potentially streamlining the process.

This approach requires investigation to confirm functionality, however.