Class: DatadogAPIClient::V2::TicketCreationRuleAction

Inherits:
Object
  • Object
show all
Includes:
BaseGenericModel
Defined in:
lib/datadog_api_client/v2/models/ticket_creation_rule_action.rb

Overview

The action to take when the ticket creation rule matches a finding.

Instance Attribute Summary collapse

Method Summary

Methods included from BaseGenericModel

included

Instance Attribute Details

#additional_properties ⇒ Object

Returns the value of attribute additional_properties.



43
44
45
# File 'lib/datadog_api_client/v2/models/ticket_creation_rule_action.rb', line 43

def additional_properties
  @additional_properties
end

#assignee_id ⇒ Object

The UUID of the default assignee for created tickets.



25
26
27
# File 'lib/datadog_api_client/v2/models/ticket_creation_rule_action.rb', line 25

def assignee_id
  @assignee_id
end

#fields ⇒ Object

Target-specific fields of the ticket to create.

For target: jira, the custom fields of the Jira issue. For the list of available fields, see Jira documentation.

For target: linear, the optional keys linear_project_id (string, the identifier of the Linear project the issue is created in) and linear_label_ids (array of strings, the identifiers of the Linear labels applied to the issue).



32
33
34
# File 'lib/datadog_api_client/v2/models/ticket_creation_rule_action.rb', line 32

def fields
  @fields
end

#max_tickets_per_day ⇒ Object

The maximum number of tickets the rule may create per day. If exceeded, one final ticket will be created, explaining the limit was hit and link back to the responsible rule.



35
36
37
# File 'lib/datadog_api_client/v2/models/ticket_creation_rule_action.rb', line 35

def max_tickets_per_day
  @max_tickets_per_day
end

#project_id ⇒ Object

The UUID of the case management project.



38
39
40
# File 'lib/datadog_api_client/v2/models/ticket_creation_rule_action.rb', line 38

def project_id
  @project_id
end

#target ⇒ Object

The ticketing system to create tickets in.



41
42
43
# File 'lib/datadog_api_client/v2/models/ticket_creation_rule_action.rb', line 41

def target
  @target
end