Add ticket create notification event support
linter / quality (pull_request) Successful in 1m25s
tests / ci (8.4) (pull_request) Successful in 1m42s

This commit is contained in:
2026-04-24 19:35:13 +00:00
parent 083328f9de
commit 5f74ddd964
12 changed files with 262 additions and 18 deletions
@@ -38,7 +38,7 @@ class BuildProjectNotificationSettingsPayload
{
return [
[
'description' => 'Absolute ticket URL for the status change event.',
'description' => 'Absolute ticket URL for the notification event.',
'value' => '$url',
],
[
@@ -46,7 +46,7 @@ class BuildProjectNotificationSettingsPayload
'value' => '$ticket_key',
],
[
'description' => 'Ticket title from the changed ticket.',
'description' => 'Ticket title for the notification event.',
'value' => '$ticket_title',
],
[
@@ -54,15 +54,15 @@ class BuildProjectNotificationSettingsPayload
'value' => '$project_name',
],
[
'description' => 'Origin status label before the move.',
'description' => 'Origin status label for status moves; blank for ticket create.',
'value' => '$status_from',
],
[
'description' => 'Destination status label after the move.',
'description' => 'Destination or initial status label for the ticket event.',
'value' => '$status_to',
],
[
'description' => 'Actor name when the move has a known user.',
'description' => 'Actor name when the event has a known user.',
'value' => '$actor_name',
],
];