How can I add an 'On Hold' status & pause the SLA through code customization in Frappe Helpdesk?

I want to add an “On Hold” status in both desk and Front end level and pause the SLA when a ticket reaches this status, instead of pausing it in the “Replied” status. Is it possible to customize this through code?

I have installed Frappe Helpdesk in Developer mode. Can I add the "On Hold" status in both the Desk and front-end portal, and ensure the SLA is paused when this status is set? Currently, we only have Open, Resolved, Replied, and Closed statuses, and need to add “On Hold.”

@here , Any options to customize the ticket status in frappe helpdesk.?

Yes, you can add it through the Customize form, and if adding status is not possible through the Customize form, then you can use property setters to set options.

@ejaaz , In Desk LEvel I can able to create the status , but In Front end Portal It won’t reflect right.?
I need the status customization in Front end Portal

Oh, sorry about that. I don’t know how to add in the front end. There are some issues related to that on GitHub; here’s the link.