grim/youtrack-import

Parents ea3bbfa5c8b9
Children fd6245f5c226
Add support for importing watchers from bitbucket as well. Fixes YI-16
--- a/bitbucket/converter.go Wed Jan 15 23:39:15 2020 -0600
+++ b/bitbucket/converter.go Thu Jan 16 00:02:27 2020 -0600
@@ -67,6 +67,7 @@
}
yt.Voters = flattenAuthors(userMap, bb.Voters)
+ yt.Watchers = flattenAuthors(userMap, bb.Watchers)
// map field values from bitbucket to youtrack
if replace, found := priorityMap[yt.Priority]; found {