add_comment_to_incident

Adds a comment to a specified incident.

Format

emcli add_comment_to_incident
    -incident_id="Incident ID"
    -comment="text"

Options

  • incident_id

    ID of the incident to which a comment is to be added.

  • comment

    Comment text.

Example

The following example adds the comment "Working on this" to an incident with the ID 2.

emcli -add_comment_to_incident -incident_id="2" -comment="Working on this"