Splitting tickets

Helpdesk for my helpdesk software

Moderator: mkoch227

Post Reply
Phil2
Posts: 2
Joined: Thu Jun 10, 2021 12:45 am

Splitting tickets

Post by Phil2 »

Script URL: http://transcentral/ticket/ (internal network access only)
Version of script: 3.22
Hosting company: Fuji internal network
URL of phpinfo.php: Not accessible (using wamp 2.1) plus internal network with no outside access
URL of session_test.php: Not accessible (using wamp 2.1) plus internal network with no outside access
What terms did you try when SEARCHING for a solution:
split tickets, separate tickets, divide tickets, split, divide, (when using Google, added HESK)
Write your message below:
I really like this software and it is very nice and pretty much fits what I need. Thank you.
There is just one point that I am trying to resolve to make this perfect.
This is being used as an internal request system and for the same "request" people need to request several different processes (like hardware debugging and software debugging) for the same ticket but these separate processes will involve separate people who will handle it. I would like to make it possible to split tickets (automatically would be best) OR allow multiple submitting of a ticket without requiring the customer to reenter everything.
The split functionality has been requested in the past based on my research but never implemented.
I understand that splitting would probably involve a lot of programming but would a submit and allow customer to submit again with changing just a bit of information be more possible?

As an alternative:
I have also checked the database and I was thinking of making an SQL statement that could be run to duplicate a ticket. The stumbling block that I have about this is the ticket ID method.
Based on my research this appears to be a random set of characters but does not check for same previous existing IDs. (It is a very large number so the chance of repeats is low, I think.)
If I copied a record, I assume that it would be fine to just change the last digit of the ticket ID because the automatic numbering of tickets is not incremental using some method. Is that correct?
Klemen
Site Admin
Posts: 10142
Joined: Fri Feb 11, 2005 4:04 pm

Re: Splitting tickets

Post by Klemen »

Yes, splitting tickets has been requested before, just didn't get to it yet (other priorities).

Correct, the tracking ID is a random string. If you are generating duplicate tickets programmatically, you can use the hesk_createID() function (located in /inc/common.inc.php) to generate one. This function will also check for duplicates:

Code: Select all

$trackingID = hesk_createID();
Klemen, creator of HESK and PHPJunkyardWas this helpful? You can buy me a drink here Image

Image You should follow me on Twitter here

Help desk software | Cloud help desk | Guestbook | Link manager | Click counter | more PHP Scripts ...

Also browse for php hosting companies, read php books, find php resources and use webmaster tools
Phil2
Posts: 2
Joined: Thu Jun 10, 2021 12:45 am

Re: Splitting tickets

Post by Phil2 »

Thank you very much. That function will help out significantly. I will give it a try and see what happens.
Post Reply