]> git.ipfire.org Git - thirdparty/bugzilla.git/commitdiff
Bug 1305176 - Populate Triage Leads field (perform as automation@bmo.tld user)
authorDavid Lawrence <dkl@mozilla.com>
Fri, 7 Oct 2016 15:16:46 +0000 (15:16 +0000)
committerDavid Lawrence <dkl@mozilla.com>
Fri, 7 Oct 2016 15:16:46 +0000 (15:16 +0000)
scripts/triage_owners_csv.pl

index af8a491a86d82afc226544a9f29bbf843a9b1023..214b7b04f79fb9dfa6df01f86d86409b63f44d46 100644 (file)
@@ -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;