From 8a77be3928d857c88251aa3b74ccdc51aa04f68a Mon Sep 17 00:00:00 2001 From: Florian Pritz Date: Thu, 7 Jun 2018 18:04:20 +0200 Subject: Throw exception for private bugs Signed-off-by: Florian Pritz --- Bugzilla/Migrate/Flyspray.pm | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Bugzilla/Migrate/Flyspray.pm b/Bugzilla/Migrate/Flyspray.pm index 5ea70d8a8..9317d1a36 100644 --- a/Bugzilla/Migrate/Flyspray.pm +++ b/Bugzilla/Migrate/Flyspray.pm @@ -301,6 +301,7 @@ sub _read_bugs { t.item_status, t.date_opened, t.last_edited_time, + t.mark_private, a.user_id assigned_to, ls.status_name, t.is_closed, @@ -320,6 +321,9 @@ sub _read_bugs { my @result; while (my $row = $sth->fetchrow_hashref()) { + if ($row->{mark_private} == 1) { + ...; + } $self->debug("Processing bug " . $row->{task_id}, 2); my $bug = { short_desc => $row->{item_summary}, -- cgit v1.2.3-24-g4f1b