diff options
Diffstat (limited to 'Bugzilla/Migrate')
-rw-r--r-- | Bugzilla/Migrate/Flyspray.pm | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/Bugzilla/Migrate/Flyspray.pm b/Bugzilla/Migrate/Flyspray.pm index a4fe5404a..aa3346bb6 100644 --- a/Bugzilla/Migrate/Flyspray.pm +++ b/Bugzilla/Migrate/Flyspray.pm @@ -362,6 +362,16 @@ sub _read_bugs { }; } + # CC/bug watchers + my $cc_sth = $self->{dbh}->prepare_cached(" + SELECT user_id + FROM $fsdb.${fsprfx}notifications WHERE task_id = ?"); + $cc_sth->execute($row->{task_id}); + while (my $row = $cc_sth->fetchrow_hashref()) { + push @{$bug->{cc}}, $self->_get_username($row->{user_id}); + } + + my $comments = {}; # fetch comments |