Ticket ID Not Auto-Incrementing

In my Doctype settings, I have defined the naming rule as Auto Increment. The Ticket ID should be auto-incremented, but in my tickets, the Ticket ID is being generated with random IDs. Please see the screenshot below. How can I resolve this issue?

Ticket ID Screenshot