diff options
author | Florian Pritz <bluewind@xinu.at> | 2017-12-27 15:43:12 +0100 |
---|---|---|
committer | Florian Pritz <bluewind@xinu.at> | 2018-12-06 11:05:42 +0100 |
commit | bcc998174abf8a95905dc41c22eb5b238895d976 (patch) | |
tree | a169d01ec828d28c819fd674d7db7de3fb963435 /Bugzilla/Migrate | |
parent | 60d8b93c0017253f11bbea0108e0a25e371e4a9b (diff) | |
download | bugzilla-bcc998174abf8a95905dc41c22eb5b238895d976.tar.gz bugzilla-bcc998174abf8a95905dc41c22eb5b238895d976.tar.xz |
WIP: Migrate duplicate ID
Signed-off-by: Florian Pritz <bluewind@xinu.at>
Diffstat (limited to 'Bugzilla/Migrate')
-rw-r--r-- | Bugzilla/Migrate/Flyspray.pm | 7 |
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) { |