This extension will allow you to generate asana ticket numbers. You can do so by configuring your team and the prefix in the settings. Asana does not currently have this logic built in.
When writing an asana ticket name description, press Ctrl-Space to generate a ticket number with your prefix.
The source code is available here: https://github.com/Dotrar/Asana-Ticket-Generator