You are not logged in.
Pages: 1
Hello,
In this Topic (280849) I see a parameters to set the Requester and the Tecnician directly in the ticket creation instead of the use first the 'Ticket' and later the 'Ticket_User' to set the users.
There are any parameter to set the watcher directly in the ticket creation?
How can I know/obtain all the supported parameters?
Thanks!
Offline
"_users_id_observer" is the field for the watcher when creating a new ticket.
For knowing the supported fields, it is essentially all of the columns in the related database table. For hidden/special fields like _users_id_observer which aren't stored in the ticket's table but are instead used to create extra data in other tables, it requires more knowledge of how GLPI works internally/looking at the source code. A new API will be coming with GLPI 10.1 (the old API will still exist too) which has a well-defined set of endpoints and fields to be more user friendly.
https://github.com/glpi-project/glpi/pull/12221
GLPI Collaborator and Plugin Developer.
My non-English comments are automated translations. Sorry for any confusion that causes.
Mes commentaires non anglais sont des traductions automatiques. Désolé pour toute confusion qui cause.
Mis comentarios que no están en inglés son traducciones automáticas. Perdón por cualquier confusión que cause.
Offline
Thanks for all Curtis!
Offline
Pages: 1