Page 1 of 1

Manual Tracking ID?

Posted: Tue Nov 18, 2014 7:52 pm
by SS113
Would it be possible if the person creating the ticket is able to assign a custom ID for that ticket?

I want to be able to track another system already generating tickets with IDs and I want them to be the same so at the end, there won't be any "public" view of this but just an internal way to track another system.

Thanks

Re: Manual Tracking ID?

Posted: Tue Nov 18, 2014 8:17 pm
by Klemen
It's not something supported in HESK, would need to be modified.

You would need to add a new input field to the submit a ticket form then skip generating a random tracking ID ($tmpvar['trackid'] = hesk_createID();) if the field is populated.

Re: Manual Tracking ID?

Posted: Tue Nov 18, 2014 8:38 pm
by SS113
That's what I was thinking Klemen, so after that I can use that input from the new field to update the DB's trackid to show it?

Re: Manual Tracking ID?

Posted: Wed Nov 19, 2014 7:49 am
by Klemen
Yes, but it would be smart also to check in the DB to make sure such a tracking ID doesn't exist yet.