From cbee6a68eb3e6fb2bd8e0b35c4e97784f76ea2c6 Mon Sep 17 00:00:00 2001 From: Johanna England Date: Wed, 1 Feb 2023 10:05:56 +0100 Subject: [PATCH] Rename ticket info for set values --- src/argus_ticket_rt.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/argus_ticket_rt.py b/src/argus_ticket_rt.py index 91f27b7..2c4ae7f 100644 --- a/src/argus_ticket_rt.py +++ b/src/argus_ticket_rt.py @@ -58,7 +58,7 @@ def get_custom_fields(ticket_information: dict, serialized_incident: dict) -> di incident_tags = RequestTrackerPlugin.convert_tags_to_dict( serialized_incident["tags"] ) - custom_fields = ticket_information.get("custom_fields", {}) + custom_fields = ticket_information.get("custom_fields_set", {}) custom_fields_mapping = ticket_information.get("custom_fields_mapping", {}) for key, field in custom_fields_mapping.items():