summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFlorian Pritz <bluewind@xinu.at>2018-06-07 18:04:20 +0200
committerFlorian Pritz <bluewind@xinu.at>2018-06-07 18:04:20 +0200
commit61dd99f024fd17da0c85ee88a2c1c29dde4c7361 (patch)
tree25ca55d780989433a80d2faae9fcba169db4716f
parent45b92f47435cc138c2f0724bf263d5ffc783e951 (diff)
downloadbugzilla-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.pm4
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},