diff options
author | Florian Pritz <bluewind@xinu.at> | 2018-06-07 18:04:20 +0200 |
---|---|---|
committer | Florian Pritz <bluewind@xinu.at> | 2018-06-07 18:04:20 +0200 |
commit | 61dd99f024fd17da0c85ee88a2c1c29dde4c7361 (patch) | |
tree | 25ca55d780989433a80d2faae9fcba169db4716f | |
parent | 45b92f47435cc138c2f0724bf263d5ffc783e951 (diff) | |
download | bugzilla-61dd99f024fd17da0c85ee88a2c1c29dde4c7361.tar.gz bugzilla-61dd99f024fd17da0c85ee88a2c1c29dde4c7361.tar.xz |
Throw exception for private bugs
Signed-off-by: Florian Pritz <bluewind@xinu.at>
-rw-r--r-- | Bugzilla/Migrate/Flyspray.pm | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Bugzilla/Migrate/Flyspray.pm b/Bugzilla/Migrate/Flyspray.pm index e8d294036..8a52daabf 100644 --- a/Bugzilla/Migrate/Flyspray.pm +++ b/Bugzilla/Migrate/Flyspray.pm @@ -282,6 +282,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, @@ -300,6 +301,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}, |