diff --git a/itsm/ticket/models/ticket.py b/itsm/ticket/models/ticket.py index d4d2b5dd5..7e38d71c6 100644 --- a/itsm/ticket/models/ticket.py +++ b/itsm/ticket/models/ticket.py @@ -4053,11 +4053,14 @@ def display_content(field_type, content): single = [] for attr_name, attr_value in attr.items(): try: - if isinstance(attr_value["value"], str): + attr_display = ( + attr_value.get("label") or attr_value["value"] + ) + if isinstance(attr_display, str): single.append( "{}:{}".format( schemes_map[scheme][attr_name], - attr_value.get("label") or attr_value["value"], + attr_display, ) ) except Exception as err: