atlcloudjira_notification_scheme (Resource)

Example Usage

import {
  to = atlcloudjira_notification_scheme.SampleNotificationSchemeResource
  id = 10002
}

# __generated__ by Terraform
# Please review these resources and move them into your main configuration files.

# __generated__ by Terraform from "10002"
resource "atlcloudjira_notification_scheme" "SampleNotificationSchemeResource" {
  allow_incomplete = true // if set to false, all events IDs must be included. If set to true, removing event from list do not change it's recipients.
  description      = "Lorem ipsum"
  name             = "Sample Notification Scheme"
  notification_events = {
    "1" = [{
      notification_type = "AllWatchers"
      parameter         = ""
      }, {
      notification_type = "ComponentLead"
      parameter         = ""
      }, {
      notification_type = "CurrentAssignee"
      parameter         = ""
      }, {
      notification_type = "CurrentUser"
      parameter         = ""
      }, {
      notification_type = "Group"
      parameter         = "mySpecialGroup"
      }, {
      notification_type = "GroupCustomField"
      parameter         = "customfield_10105"
      }, {
      notification_type = "ProjectLead"
      parameter         = ""
      }, {
      notification_type = "ProjectRole"
      parameter         = "10002"
      }, {
      notification_type = "Reporter"
      parameter         = ""
      }, {
      notification_type = "User"
      parameter         = "712020:7793726f-0b82-4dc8-ba5c-e22769c1fd16"
      }, {
      notification_type = "UserCustomField"
      parameter         = "customfield_10041"
    }]
    "10" = [{
      notification_type = "AllWatchers"
      parameter         = ""
      }, {
      notification_type = "CurrentAssignee"
      parameter         = ""
      }, {
      notification_type = "Reporter"
      parameter         = ""
    }]
  }
}

Schema

Required

  • name (String) The name of the notification scheme.

Optional

  • allow_incomplete (Boolean) Helper attribute. When set to true, partial configuration can be stored and managed by Terraform. Is false, entire configuration must be stored in Terraform script.

  • description (String) The description of the notification scheme.

  • notification_events (Map of Set of Map of String) List of events and recipients who will receive notifications for those events.

Read-Only

  • id (Number) The ID of the Notification Scheme.

  • last_updated (String) Timestamp of the last Terraform update of the Notification Scheme resource.