summaryrefslogtreecommitdiffstats
path: root/Bugzilla/Migrate/Flyspray.pm
diff options
context:
space:
mode:
Diffstat (limited to 'Bugzilla/Migrate/Flyspray.pm')
-rw-r--r--Bugzilla/Migrate/Flyspray.pm7
1 files changed, 7 insertions, 0 deletions
diff --git a/Bugzilla/Migrate/Flyspray.pm b/Bugzilla/Migrate/Flyspray.pm
index 38a450b36..6da7f9752 100644
--- a/Bugzilla/Migrate/Flyspray.pm
+++ b/Bugzilla/Migrate/Flyspray.pm
@@ -410,6 +410,13 @@ sub _read_bugs {
removed => "",
added => $history->{resolution_name},
};
+ if ($self->translate_value('resolution', $history->{resolution_name}) eq
+ "DUPLICATE")
+ {
+ if ($closure_comment =~ m/FS#(\d+)/) {
+ $bug->{dup_id} = int($1);
+ }
+ }
}
elsif ($history->{event_type} == 3) {