1.2 KiB
1.2 KiB
Skill: glpi-create — Open a New GLPI Ticket
Create a new GLPI helpdesk ticket. Mutates GLPI — confirm the details before running.
When to use
- Logging a new incident or request that should live in the helpdesk queue.
Required information
- title — short subject line.
- content — description of the issue / request.
Optional
- priority —
1=VeryLow,2=Low,3=Medium (default),4=High,5=VeryHigh,6=Major. - type —
1=Incident (default),2=Request.
Command
Wraps the existing tooling:
~/.config/mosaic/tools/glpi/ticket-create.sh \
-t "<title>" \
-c "<content>" \
[-p <priority>] \
[-y <type>] \
[-f json]
Example:
~/.config/mosaic/tools/glpi/ticket-create.sh \
-t "Paint-area camera install" \
-c "Ordered 2 cameras for Paint and stock; schedule mounting + NVR config." \
-p 3 -y 2
After creating
- Note the returned ticket ID — you'll need it for glpi-followup and glpi-solve.
- If it should also be tracked as brain work, add a matching task (see the
add-taskskill).
Guardrails
- Confirm title/content/priority with the user before creating — a ticket is outward-facing.
- Never echo GLPI tokens.