commit | d8899775228958610f2794117e8e07269fe2d8d6 | [log] [tgz] |
---|---|---|
author | Tomoko Uchida <tomoko.uchida.1111@gmail.com> | Wed Jul 27 18:02:47 2022 +0900 |
committer | GitHub <noreply@github.com> | Wed Jul 27 18:02:47 2022 +0900 |
tree | 2e68a1f3134a7f1e2bbee1a48caf213d5de5acb3 | |
parent | 00457473ae0e5029a31863295e49c59b2929a14c [diff] |
avoid duplicate labels (#82)
diff --git a/migration/src/jira2github_import.py b/migration/src/jira2github_import.py index 6e3807e..3974d6f 100644 --- a/migration/src/jira2github_import.py +++ b/migration/src/jira2github_import.py
@@ -208,6 +208,9 @@ labels.append(f"legacy-jira-resolution:{resolution}") if priority: labels.append(f"legacy-jira-priority:{priority}") + + # ensure there are not duplicate labels + labels = list(set(labels)) data = { "issue": {