summaryrefslogtreecommitdiffstats
path: root/Bugzilla/Migrate
diff options
context:
space:
mode:
authorFlorian Pritz <bluewind@xinu.at>2018-06-07 18:04:20 +0200
committerFlorian Pritz <bluewind@xinu.at>2018-12-06 11:08:18 +0100
commit8a77be3928d857c88251aa3b74ccdc51aa04f68a (patch)
tree9a8fc7da66747f07ae95be63491b55149a2be1e9 /Bugzilla/Migrate
parent3eeeaf77cc6d7f78df26508b8e87e4df69db2a44 (diff)
downloadbugzilla-8a77be3928d857c88251aa3b74ccdc51aa04f68a.tar.gz
bugzilla-8a77be3928d857c88251aa3b74ccdc51aa04f68a.tar.xz
Throw exception for private bugs
Signed-off-by: Florian Pritz <bluewind@xinu.at>
Diffstat (limited to 'Bugzilla/Migrate')
-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 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},