From b14f11a156d7ccaf08985cc532789ffd240d9c4e Mon Sep 17 00:00:00 2001 From: David Lawrence Date: Fri, 7 Oct 2016 15:16:46 +0000 Subject: Bug 1305176 - Populate Triage Leads field (perform as automation@bmo.tld user) --- scripts/triage_owners_csv.pl | 3 +++ 1 file changed, 3 insertions(+) (limited to 'scripts') 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; -- cgit v1.2.3-24-g4f1b