You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@devlake.apache.org by ly...@apache.org on 2024/11/21 06:14:17 UTC

(incubator-devlake) branch release-v1.0 updated: fix(opsgenie): add AssigneeId and AssigneeName to domain issue (#8209) (#8210)

This is an automated email from the ASF dual-hosted git repository.

lynwee pushed a commit to branch release-v1.0
in repository https://gitbox.apache.org/repos/asf/incubator-devlake.git


The following commit(s) were added to refs/heads/release-v1.0 by this push:
     new 65d6cb26f fix(opsgenie): add AssigneeId and AssigneeName to domain issue (#8209) (#8210)
65d6cb26f is described below

commit 65d6cb26f6fef238ac26f96c88a077922db5bd64
Author: github-actions[bot] <41...@users.noreply.github.com>
AuthorDate: Thu Nov 21 14:14:12 2024 +0800

    fix(opsgenie): add AssigneeId and AssigneeName to domain issue (#8209) (#8210)
    
    * fix(opsgenie): add AssigneeId and AssigneeName to domain issue
    
    * style(opsgenie): remove blank lines
    
    Co-authored-by: Lynwee <15...@qq.com>
---
 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)