diff options
author | Florian Pritz <bluewind@xinu.at> | 2018-06-07 18:04:20 +0200 |
---|---|---|
committer | Florian Pritz <bluewind@xinu.at> | 2018-12-06 11:08:18 +0100 |
commit | 8a77be3928d857c88251aa3b74ccdc51aa04f68a (patch) | |
tree | 9a8fc7da66747f07ae95be63491b55149a2be1e9 | |
parent | 3eeeaf77cc6d7f78df26508b8e87e4df69db2a44 (diff) | |
download | bugzilla-8a77be3928d857c88251aa3b74ccdc51aa04f68a.tar.gz bugzilla-8a77be3928d857c88251aa3b74ccdc51aa04f68a.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 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}, |