case_relationship_servicenow_tickets
Creates, updates, deletes, gets or lists a case_relationship_servicenow_tickets resource.
Overview
| Name | case_relationship_servicenow_tickets |
| Type | Resource |
| Id | datadog.service_management.case_relationship_servicenow_tickets |
Fields
The following fields are returned by SELECT queries:
SELECT not supported for this resource, use SHOW METHODS to view available operations for the resource.
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
create_case_service_now_ticket | insert | case_id, data | Create a new ServiceNow incident ticket and link it to a case |
Parameters
Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.
| Name | Datatype | Description |
|---|---|---|
case_id | string | Case's UUID or key (example: f98a5a5b-e0ff-45d4-b2f5-afe6e74de504) |
site | string | The Datadog site (region) for your organization, for example datadoghq.com, us3.datadoghq.com, us5.datadoghq.com, ap1.datadoghq.com, ap2.datadoghq.com, datadoghq.eu, ddog-gov.com. Resolved from the DD_SITE environment variable when set. Optional: defaults to datadoghq.com, or the value of the DD_SITE environment variable when set; a WHERE value overrides both. |
INSERT examples
- create_case_service_now_ticket
- Manifest
Create a new ServiceNow incident ticket and link it to a case
INSERT INTO datadog.service_management.case_relationship_servicenow_tickets (
data,
case_id
)
SELECT
'{{ data }}' /* required */,
'{{ case_id }}'
;
# Description fields are for documentation purposes
- name: case_relationship_servicenow_tickets
props:
- name: case_id
value: "{{ case_id }}"
description: Required parameter for the case_relationship_servicenow_tickets resource.
- name: data
description: |
ServiceNow ticket creation data
value:
attributes:
assignment_group: "{{ assignment_group }}"
instance_name: "{{ instance_name }}"
type: "{{ type }}"