Skip to content

Commit 2862f4c

Browse files
authored
fix(case): don't put resolution in case ticket (#5883)
1 parent 9b990e3 commit 2862f4c

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

src/dispatch/ticket/flows.py

+3-2
Original file line numberDiff line numberDiff line change
@@ -214,8 +214,9 @@ def update_case_ticket(
214214

215215
title = case.title
216216
description = case.description
217+
resolution = case.resolution
217218
if case.visibility == Visibility.restricted:
218-
title = description = case.case_type.name
219+
title = description = resolution = case.case_type.name
219220

220221
case_type_plugin_metadata = case_type_service.get_by_name_or_raise(
221222
db_session=db_session,
@@ -237,7 +238,7 @@ def update_case_ticket(
237238
ticket_id=case.ticket.resource_id,
238239
title=title,
239240
description=description,
240-
resolution=case.resolution,
241+
resolution=resolution,
241242
case_type=case.case_type.name,
242243
case_severity=case.case_severity.name,
243244
case_priority=case.case_priority.name,

0 commit comments

Comments
 (0)