From 3371903e06059e55c95263d27553b6105ea71004 Mon Sep 17 00:00:00 2001 From: Lynwee <1507509064@qq.com> Date: Thu, 21 Nov 2024 14:10:56 +0800 Subject: [PATCH] fix(opsgenie): add AssigneeId and AssigneeName to domain issue (#8209) * fix(opsgenie): add AssigneeId and AssigneeName to domain issue * style(opsgenie): remove blank lines --- backend/plugins/opsgenie/tasks/incidents_converter.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/backend/plugins/opsgenie/tasks/incidents_converter.go b/backend/plugins/opsgenie/tasks/incidents_converter.go index 7ff88624d08..1562fd62ba3 100644 --- a/backend/plugins/opsgenie/tasks/incidents_converter.go +++ b/backend/plugins/opsgenie/tasks/incidents_converter.go @@ -127,6 +127,8 @@ func ConvertIncidents(taskCtx plugin.SubTaskContext) errors.Error { AssigneeId: combined.Responder.Id, AssigneeName: resolve(&assigneeName), } + domainIssue.AssigneeName = issueAssignee.AssigneeName + domainIssue.AssigneeId = issueAssignee.AssigneeId result = append(result, issueAssignee) } result = append(result, domainIssue)