Skip to content

Commit

Permalink
fix(opsgenie): add AssigneeId and AssigneeName to domain issue (#8209) (
Browse files Browse the repository at this point in the history
#8210)

* fix(opsgenie): add AssigneeId and AssigneeName to domain issue

* style(opsgenie): remove blank lines

Co-authored-by: Lynwee <[email protected]>
  • Loading branch information
github-actions[bot] and d4x1 authored Nov 21, 2024
1 parent f0ff202 commit 65d6cb2
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions backend/plugins/opsgenie/tasks/incidents_converter.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 65d6cb2

Please sign in to comment.