GLPI Rest API V2 icon

GLPI Rest API V2

GLPI Rest API Node compatible with GLPI 9.x and above.

Assistance Management → Comment on an Assistance Management Item

AI-generated

Summary

Post a comment to a GLPI Assistance Management item via the ITILFollowup endpoint.

Inputs

  • itemtype (required) — Type of Assistance Management item to comment on. Options: Ticket, Change, Problem. Default: Ticket.
  • itemId (required) — ID of the Assistance Management item to comment on. Default: 0.
  • comment (required) — Content of the comment.
  • isPrivate — Whether the comment should be private. Sets is_private: 1 for private and is_private: 0 for public in the API payload. Default: false.

Output shape

object

The JSON response from GLPI's ITILFollowup endpoint, typically including the created comment's ID and item reference.

Examples

Example 1: Add a public comment to ticket ID 42.

itemtype=Ticket, itemId=42, comment=Issue resolved, isPrivate=false

Discussion