You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@devlake.apache.org by gi...@apache.org on 2024/11/21 06:11:21 UTC
(incubator-devlake) 01/01: fix(opsgenie): add AssigneeId and AssigneeName to domain issue (#8209)
This is an automated email from the ASF dual-hosted git repository.
github-bot pushed a commit to branch release-v1.0-auto-cherry-pick-8209
in repository https://gitbox.apache.org/repos/asf/incubator-devlake.git
commit 3371903e06059e55c95263d27553b6105ea71004
Author: Lynwee <15...@qq.com>
AuthorDate: Thu Nov 21 14:10:56 2024 +0800
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 7ff88624d..1562fd62b 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)