Add task to ticket
glpi_add_ticket_taskAdd a task to a GLPI ticket with required ticket ID and content, plus optional privacy, state, duration, and technician assignment.
Instructions
Add a task to a ticket. Fields: tickets_id, content (required). Optional: is_private (0/1), state (0=Info, 1=To do, 2=Done), actiontime (seconds), users_id_tech (assigned technician).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| state | No | 0=Info, 1=To do, 2=Done | |
| content | Yes | Task content | |
| actiontime | No | Duration in seconds | |
| is_private | No | 1=private, 0=public | |
| tickets_id | Yes | Ticket ID | |
| users_id_tech | No | Assigned technician user ID |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | No | ||
| replayed | No | True when an identical recent create was returned instead of repeated |