From 1ccc683d4d94ea70e763fbd4af9721cb4bca1c0d Mon Sep 17 00:00:00 2001 From: Byron Jones Date: Mon, 2 Feb 2015 12:38:16 +0800 Subject: Bug 1123769: add a "rank" field to bugzilla to track priority --- extensions/BMO/lib/Data.pm | 17 +++++++++++------ 1 file changed, 11 insertions(+), 6 deletions(-) (limited to 'extensions/BMO/lib') diff --git a/extensions/BMO/lib/Data.pm b/extensions/BMO/lib/Data.pm index bc205de19..521f585d9 100644 --- a/extensions/BMO/lib/Data.pm +++ b/extensions/BMO/lib/Data.pm @@ -49,7 +49,7 @@ tie(%$cf_visible_in_products, "Tie::IxHash", "DCOps", ], }, - qw/^cf_office$/ => { + qr/^cf_office$/ => { "mozilla.org" => ["Server Operations: Desktop Issues"], }, qr/^cf_crash_signature$/ => { @@ -86,7 +86,7 @@ tie(%$cf_visible_in_products, "Tie::IxHash", "Thunderbird" => [], "Toolkit" => [], }, - qw/^cf_due_date$/ => { + qr/^cf_due_date$/ => { "bugzilla.mozilla.org" => [], "Community Building" => [], "Data & BI Services Team" => [], @@ -98,16 +98,20 @@ tie(%$cf_visible_in_products, "Tie::IxHash", "Mozilla PR" => [], "Mozilla Reps" => [], }, - qw/^cf_locale$/ => { + qr/^cf_locale$/ => { "Mozilla Localizations" => ['Other'], "www.mozilla.org" => [], }, - qw/^cf_mozilla_project$/ => { + qr/^cf_mozilla_project$/ => { "Data & BI Services Team" => [], }, - qw/^cf_machine_state$/ => { + qr/^cf_machine_state$/ => { "Release Engineering" => ["Buildduty"], }, + qr/^cf_rank$/ => { + "Loop" => [], + "Firefox" => [], + }, ); # Who to CC on particular bugmails when certain groups are added or removed. @@ -124,7 +128,8 @@ our %group_change_notification = ( # Who can set custom flags (use full field names only, not regex's) our $cf_setters = { - 'cf_colo_site' => ['infra', 'build'], + 'cf_colo_site' => [ 'infra', 'build' ], + 'cf_rank' => [ 'rank-setters' ], }; # Groups in which you can always file a bug, regardless of product or user. -- cgit v1.2.3-24-g4f1b