You are not logged in.
Pages: 1
hello (sorry for my english)
How work with "Processing ticket" by API.
I can create new Ticket and change his status but can't add "Followup", "Task", "Document" and "Solution".
and work with timer
Offline
See this post to add followup
Trouver la panne avant de réparer...
GLPI10.0.10 (ubuntu 22.04 PHP8.1 Mariadb10.6 ) plugins : comportements 2.7.2 reports 1.16.0 formcreator 2.13.8, datainjection 2.13.4 fields 1.21.6
Offline
to insert a Followup: apirest.php/Ticket/ticket_id/ITILFollowup (POST)
a solution: apirest.php/ITILSolution/items_id (POST)
Offline
Thanks!
Followup work
but how work with "Task"?
Offline
ok i got it
Offline
how work with timer?
Offline
ok i got it
How did you manage to get the task creation working.
I still have a "you don't have persmission" message...
Thanks
Offline
Never mind, I also got it.
Using the Powershell module here is the code bloc
$TicketID = 13998
$NewTask = @{
tickets_id = $TicketID
content = "Tâche créée via script"
users_id_tech = "633"
state = "1"
groups_id_tech = "0"
}
Add-GlpiItem -Creds $GlpiCreds -ItemType TicketTask -Details $NewTask
Offline
Pages: 1