Custom ticket ID

Dear Everyone,

Can I custom ticket ID ?

When I open a new ticket, I want Frappe HelpDesk to generate a ticket ID of #TK000002 rather than #2.

Thanks so much :heart:

Thong Nguyen

Yes, this is possible. You can customize the Ticket ID format in Frappe Helpdesk so that new tickets follow a pattern like TK000002 instead of just 2.

How to do it:

  1. Open the Helpdesk Ticket DocType.

  2. Click on Customize Form.

  3. Scroll to the Naming section.

  4. Change the Autoname to use a naming series:

    naming_series:
    
    
  5. In the Naming Series field, add something like:
    TK.######

    (You can increase or decrease the number of # depending on how many digits you want.)

  6. Save and refresh your system.

What happens next?

All new tickets will be generated in the format you set, for example:

TK000001
TK000002
TK000003

Old tickets will stay as they are, but new ones will follow your custom pattern.

1 Like

Hi @shaileshsaini

I following but can’t. Im using Administrator. I don’t know why can’t edit.

Scroll down and check if you can find a field called ‘Naming Series’.

I don’t see in Fields.

image

It should be like this

1 Like

if you don’t find any then add this

I trying but can’t input Name “naming_series“

Check your roles and permission.

My roles & permissions is full.

Try this method it may help

Go to Document Naming Rule >>> Select the doctype >>> write the prefix >>> write the digit you want and then save.

After this try to create again.

Like this

Is it correct?

But. I tried to create a new one but the ticket ID generated is incorrect.

Set the priority to 10 and then try again

it’s still the same, nothing changed

then try to add a custom field —-

like this is the HD ticket doctype

image

1 Like

OHhhh wow! It in Fields now. But can’t change “Auto Name“

now change autoname to naming_series like shown

I can’t. I think because you have developer mode on, that’s why you can change it

No, that’s the standard behaviour of ERPNext.

1 Like