Implement ticket statuses
This commit is contained in:
@@ -27,5 +27,12 @@ class InitializeProjectTicketMetadata
|
||||
'position' => 1,
|
||||
]);
|
||||
}
|
||||
|
||||
if (! $project->ticketStatuses()->whereNull('board_column_id')->exists()) {
|
||||
$project->ticketStatuses()->create([
|
||||
'name' => 'Backlog',
|
||||
'position' => 1,
|
||||
]);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user