Is the insertion of ticket data coming from another source, like another ticketing system? Are you trying to build some kind of data migration action?
One method I can think of that may help is using pdm_text_cmd. What this does is it will create/update ticket information from a text file input. An example command you can try is this:
pdm_text_cmd -t REQUEST -o NEW -f file1.dat -u ServiceDesk
In this case, we are going to create a new request with input file "file1.dat" done by user "ServiceDesk".
The content of the file1.dat shown here in italics (this is a plaintext file you can create in Notepad and should have no special formatting in place)
%SUMMARY=Test Summary
%DESCRIPTION=Test Description
Please be wary of any required fields which are not included and vary per installation. The above should work in an uncustomised install of Service Desk.
This method will create one ticket at a time per input file.
In trying the above in my own test machine, we get this response:
C:\>pdm_text_cmd -t REQUEST -o NEW -f file1.dat -u ServiceDesk
AHD58021:Successfully Created Request 57.
Original Input:
%SUMMARY=Test Summary
%DESCRIPTION=Test Description
%FROM_USERID=ServiceDesk