We're using OST v1.9.8.We use random ticket number in the setup.Sometimes we will delete tickets, i want to know what will happen to the deleted ticket numbers, will there be chances the same number be re-used for future new tickets?How does the random number generation works in OST?Everytime a new random ticket number is generated, is there some logic to check against existing ticket numbers to prevent duplication?Thanks.

It only checks current tickets mate. Not sure what the problem with repeat numbers is, if you're worried about collisions, upgrade and increase the number size.

@[deleted], so when new random ticket number is to be created, OST will check against the existing ticket numbers, and deleted numbers may be re-used for new tickets.we may have cases where ticket numbers are included in business reports and then those tickets deleted later on.

What is the problem though? Business reports? If the ticket has been deleted then it doesn't matter right?

You can pick sequential IDs and then they'll never match.

You can choose archive (in new version), that way ticket is not visible/searchable, but ID is taken.

You could use the database ID instead of public ID for your reports, they are essentially a row ID and are already sequentially generated by MySQL.

4 days later

Yes if you delete a ticket, there is a change that ticket number will be randomly choosen again.  If you do not want the ticket number to replicate... then we would suggest that you do not delete tickets.

Noted all your details with thanks

Write a Reply...