Merge origin/main into koda/recreate-68-assignee-changed-notification
This commit is contained in:
@@ -190,6 +190,10 @@ class MatchNotificationFilters
|
||||
$fromStatusLabel = property_exists($payload, 'fromStatusLabel') ? $payload->fromStatusLabel : null;
|
||||
$toStatusId = property_exists($payload, 'toStatusId') ? $payload->toStatusId : null;
|
||||
$toStatusLabel = property_exists($payload, 'toStatusLabel') ? $payload->toStatusLabel : null;
|
||||
$fromAssigneeId = property_exists($payload, 'fromAssigneeId') ? $payload->fromAssigneeId : null;
|
||||
$fromAssigneeName = property_exists($payload, 'fromAssigneeName') ? $payload->fromAssigneeName : null;
|
||||
$toAssigneeId = property_exists($payload, 'toAssigneeId') ? $payload->toAssigneeId : null;
|
||||
$toAssigneeName = property_exists($payload, 'toAssigneeName') ? $payload->toAssigneeName : null;
|
||||
|
||||
return [
|
||||
'project' => [
|
||||
@@ -209,12 +213,12 @@ class MatchNotificationFilters
|
||||
],
|
||||
'assignee' => [
|
||||
'from' => [
|
||||
'id' => $payload->fromAssigneeId,
|
||||
'name' => $payload->fromAssigneeName,
|
||||
'id' => $fromAssigneeId,
|
||||
'name' => $fromAssigneeName,
|
||||
],
|
||||
'to' => [
|
||||
'id' => $payload->toAssigneeId,
|
||||
'name' => $payload->toAssigneeName,
|
||||
'id' => $toAssigneeId,
|
||||
'name' => $toAssigneeName,
|
||||
],
|
||||
],
|
||||
'status' => [
|
||||
|
||||
Reference in New Issue
Block a user