addIncidentComment
Add a comment to an incident.
Examples
mutation AddIncidentComment($incidentId: String!, $input: AddIncidentCommentInput!) {
addIncidentComment(incidentId: $incidentId, input: $input) {
id
incidentId
text
authorId
authorName
authorEmail
edited
createdAt
updatedAt
}
}Variables
This is an example input showing all available input fields. Only fields marked as required in the schema are mandatory.
{
"incidentId": "example",
"input": {
"text": "example"
}
}Arguments
You can use the following argument(s) to customize your addIncidentComment mutation.
Argument
Description
Supported fields
incidentId String! required
Fields
Return type: IncidentComment!
You can use the following field(s) to specify what information your addIncidentComment mutation will return. Please note that some fields may have their own subfields.
Field
Description
Supported fields
id String!
incidentId String!
text String!
authorId String!
authorName String
authorEmail String
edited Boolean!
createdAt DateTime!
updatedAt DateTime
Last updated