diff --git a/src/argus_ticket_github.py b/src/argus_ticket_github.py index 83241fb..eb7031f 100644 --- a/src/argus_ticket_github.py +++ b/src/argus_ticket_github.py @@ -56,7 +56,8 @@ def get_labels( ticket_information: dict, serialized_incident: dict ) -> tuple[dict, List[str]]: incident_tags = GithubPlugin.convert_tags_to_dict(serialized_incident["tags"]) - labels = ticket_information.get("labels_set", []) + labels = [] + labels.extend(ticket_information.get("labels_set", [])) labels_mapping = ticket_information.get("labels_mapping", []) missing_fields = []