summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Lawrence <dkl@mozilla.com>2016-10-07 17:16:46 +0200
committerDavid Lawrence <dkl@mozilla.com>2016-10-07 17:16:46 +0200
commitb14f11a156d7ccaf08985cc532789ffd240d9c4e (patch)
treeba414f4b23c243cf1d7d349c635f7d2a756a1f20
parentf2eb2582feb02f97f270be30793188ab552b7406 (diff)
downloadbugzilla-b14f11a156d7ccaf08985cc532789ffd240d9c4e.tar.gz
bugzilla-b14f11a156d7ccaf08985cc532789ffd240d9c4e.tar.xz
Bug 1305176 - Populate Triage Leads field (perform as automation@bmo.tld user)
-rw-r--r--scripts/triage_owners_csv.pl3
1 files changed, 3 insertions, 0 deletions
diff --git a/scripts/triage_owners_csv.pl b/scripts/triage_owners_csv.pl
index af8a491a8..214b7b04f 100644
--- a/scripts/triage_owners_csv.pl
+++ b/scripts/triage_owners_csv.pl
@@ -23,6 +23,9 @@ use Text::CSV_XS;
Bugzilla->usage_mode(USAGE_MODE_CMDLINE);
+my $auto_user = Bugzilla::User->check({ name => 'automation@bmo.tld' });
+Bugzilla->set_user($auto_user);
+
my $dbh = Bugzilla->dbh;
my $filename = shift;