Hello! I was looking to check how to generate ticket numbers but nothing. I want to have a ticket number based on year, month.
for example like this: NMT / 2019/01/0000001

please guide me to the problem I am facing, Thank you 🙂

Go to: Admin panel -> Settings -> Tickets
See the first two items on the Settings tab.

    I'm interested in making some custom ticket's number including the date too.
    Your answer is incomplete ntosier. I managed to implement the creation date in the ticket number creation sequence with modifying the "script" as I found on this forum but with this solution, we cannot use custom sequences for different topics...

    Is there now any implemented variable we can use to generate a date sequenced ticket number?
    Something like %date-%topic-######

      YannSI Is there now any implemented variable we can use to generate a date sequenced ticket number?
      Something like %date-%topic-######

      No.

      You would have to manually set the year as the first 4 digits, and change it on Jan 1st every year.

      ntozier

      hello, here can be determined the ticket number according to the date and compilation of the month change ticket number starts from 0 again ?

      please explain in detail, thank you 🙂

        YannSI

        hello, %date-%topic-###### this is not working properly compile I change Admin Panel -> Settings -> Ticket

        eddogustian hello, here can be determined the ticket number according to the date and compilation of the month change ticket number starts from 0 again ?

        You cannot. This is not a feature in osticket.

        18 days later

        Hi again,

        This is not a perfect way to achieve it but I used this script customisation in order to have something like YYYYMMDD-###### working for all tickets. Problem is that there is no automatic back to 0 ticket number per day or mounth or year. If you want to get back to 0 , you have to do it manually every time.

        For now that's enough for me but I would really appreciate a real-date included sequence...
        !!!! Seems to be incompatible with 1.14 stable !!!! I will post later otherwise...

        Maybe for a late version of OSticket...

        Write a Reply...