GraphQL reference

CreateIncidentRecordInput

Input

Autogenerated input type of CreateIncidentRecord

mutation { organization(id: $organizationId) { project(id: $projectId) { createIncidentRecord } } }

Example

mutation CreateIncidentRecord(
  $organizationId: ID!
  $projectId: ID!
  $input: CreateIncidentRecordInput!
) {
  organization(id: $organizationId) {
    project(id: $projectId) {
      createIncidentRecord(input: $input) {
        incidentRecord
        errors
      }
    }
  }
}

Fields

FieldTypeDescription
clientMutationIdStringA unique identifier for the client performing the mutation.
descriptionString—
idID!—
incidentIdID!—
mutationMetadataJSON—
nowISO8601DateTime—
recordTypeString!—
upsertCustomFieldValues[CustomFieldValueInput!]—