Add ticket create notification event support
This commit is contained in:
@@ -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',
|
||||
],
|
||||
];
|
||||
|
||||
Reference in New Issue
Block a user