assignSequentialId(e)

In the response tab Form Responses 1, add one values-only column headed Ticket ID. Use an installable spreadsheet form-submit trigger. Select inside the code box, then press Ctrl+A and Ctrl+C (Command on macOS).

Try the two-row replay