pagerduty.JiraCloudAccountMappingRule
Explore with Pulumi AI
An Jira Cloud’s account mapping rule configures the bidirectional synchronization between Jira issues and PagerDuty incidents.
Example Usage
Coming soon!
Coming soon!
Coming soon!
Coming soon!
Coming soon!
resources:
  foo:
    type: pagerduty:Service
    properties:
      name: My Web App
      escalationPolicy: ${default.id}
  fooUser:
    type: pagerduty:User
    name: foo
    properties:
      name: Earline Greenholt
      email: 125.greenholt.earline@graham.name
  fooJiraCloudAccountMappingRule:
    type: pagerduty:JiraCloudAccountMappingRule
    name: foo
    properties:
      name: Integration with My Web App
      accountMapping: PLBP09X
      config:
        - service: ${foo.id}
          jira:
            - autocreateJql: priority = Highest
              createIssueOnIncidentTrigger: true
              customFields:
                - sourceIncidentField: incident_description
                  targetIssueField: description
                  targetIssueFieldName: Description
                  type: attribute
                - targetIssueField: security
                  targetIssueFieldName: Security Level
                  type: jira_value
                  value:
                    fn::toJSON:
                      displayName: Sec Level 1
                      id: '10000'
              issueType:
                - id: '10001'
                  name: Incident
              priorities:
                - jiraId: '1'
                  pagerdutyId: ${p1.id}
                - jiraId: '2'
                  pagerdutyId: ${p2.id}
                - jiraId: '3'
                  pagerdutyId: ${p3.id}
              project:
                - id: '10100'
                  key: ITS
                  name: IT Support
              statusMapping:
                - acknowledged:
                    - id: '2'
                      name: In Progress
                  resolved:
                    - id: '3'
                      name: Resolved
                  triggered:
                    - id: '1'
                      name: Open
              syncNotesUser: ${fooUser.id}
variables:
  default:
    fn::invoke:
      function: pagerduty:getEscalationPolicy
      arguments:
        name: Default
  p1:
    fn::invoke:
      function: pagerduty:getPriority
      arguments:
        name: P1
  p2:
    fn::invoke:
      function: pagerduty:getPriority
      arguments:
        name: P2
  p3:
    fn::invoke:
      function: pagerduty:getPriority
      arguments:
        name: P3
Create JiraCloudAccountMappingRule Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new JiraCloudAccountMappingRule(name: string, args: JiraCloudAccountMappingRuleArgs, opts?: CustomResourceOptions);@overload
def JiraCloudAccountMappingRule(resource_name: str,
                                args: JiraCloudAccountMappingRuleArgs,
                                opts: Optional[ResourceOptions] = None)
@overload
def JiraCloudAccountMappingRule(resource_name: str,
                                opts: Optional[ResourceOptions] = None,
                                account_mapping: Optional[str] = None,
                                config: Optional[JiraCloudAccountMappingRuleConfigArgs] = None,
                                name: Optional[str] = None)func NewJiraCloudAccountMappingRule(ctx *Context, name string, args JiraCloudAccountMappingRuleArgs, opts ...ResourceOption) (*JiraCloudAccountMappingRule, error)public JiraCloudAccountMappingRule(string name, JiraCloudAccountMappingRuleArgs args, CustomResourceOptions? opts = null)
public JiraCloudAccountMappingRule(String name, JiraCloudAccountMappingRuleArgs args)
public JiraCloudAccountMappingRule(String name, JiraCloudAccountMappingRuleArgs args, CustomResourceOptions options)
type: pagerduty:JiraCloudAccountMappingRule
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
 - The unique name of the resource.
 - args JiraCloudAccountMappingRuleArgs
 - The arguments to resource properties.
 - opts CustomResourceOptions
 - Bag of options to control resource's behavior.
 
- resource_name str
 - The unique name of the resource.
 - args JiraCloudAccountMappingRuleArgs
 - The arguments to resource properties.
 - opts ResourceOptions
 - Bag of options to control resource's behavior.
 
- ctx Context
 - Context object for the current deployment.
 - name string
 - The unique name of the resource.
 - args JiraCloudAccountMappingRuleArgs
 - The arguments to resource properties.
 - opts ResourceOption
 - Bag of options to control resource's behavior.
 
- name string
 - The unique name of the resource.
 - args JiraCloudAccountMappingRuleArgs
 - The arguments to resource properties.
 - opts CustomResourceOptions
 - Bag of options to control resource's behavior.
 
- name String
 - The unique name of the resource.
 - args JiraCloudAccountMappingRuleArgs
 - The arguments to resource properties.
 - options CustomResourceOptions
 - Bag of options to control resource's behavior.
 
Constructor example
The following reference example uses placeholder values for all input properties.
var jiraCloudAccountMappingRuleResource = new Pagerduty.JiraCloudAccountMappingRule("jiraCloudAccountMappingRuleResource", new()
{
    AccountMapping = "string",
    Config = new Pagerduty.Inputs.JiraCloudAccountMappingRuleConfigArgs
    {
        Service = "string",
        Jira = new Pagerduty.Inputs.JiraCloudAccountMappingRuleConfigJiraArgs
        {
            AutocreateJql = "string",
            CreateIssueOnIncidentTrigger = false,
            CustomFields = new[]
            {
                new Pagerduty.Inputs.JiraCloudAccountMappingRuleConfigJiraCustomFieldArgs
                {
                    TargetIssueField = "string",
                    TargetIssueFieldName = "string",
                    Type = "string",
                    SourceIncidentField = "string",
                    Value = "string",
                },
            },
            IssueType = new Pagerduty.Inputs.JiraCloudAccountMappingRuleConfigJiraIssueTypeArgs
            {
                Id = "string",
                Name = "string",
            },
            Priorities = new[]
            {
                new Pagerduty.Inputs.JiraCloudAccountMappingRuleConfigJiraPriorityArgs
                {
                    JiraId = "string",
                    PagerdutyId = "string",
                },
            },
            Project = new Pagerduty.Inputs.JiraCloudAccountMappingRuleConfigJiraProjectArgs
            {
                Id = "string",
                Key = "string",
                Name = "string",
            },
            StatusMapping = new Pagerduty.Inputs.JiraCloudAccountMappingRuleConfigJiraStatusMappingArgs
            {
                Acknowledged = new Pagerduty.Inputs.JiraCloudAccountMappingRuleConfigJiraStatusMappingAcknowledgedArgs
                {
                    Id = "string",
                    Name = "string",
                },
                Resolved = new Pagerduty.Inputs.JiraCloudAccountMappingRuleConfigJiraStatusMappingResolvedArgs
                {
                    Id = "string",
                    Name = "string",
                },
                Triggered = new Pagerduty.Inputs.JiraCloudAccountMappingRuleConfigJiraStatusMappingTriggeredArgs
                {
                    Id = "string",
                    Name = "string",
                },
            },
            SyncNotesUser = "string",
        },
    },
    Name = "string",
});
example, err := pagerduty.NewJiraCloudAccountMappingRule(ctx, "jiraCloudAccountMappingRuleResource", &pagerduty.JiraCloudAccountMappingRuleArgs{
	AccountMapping: pulumi.String("string"),
	Config: &pagerduty.JiraCloudAccountMappingRuleConfigArgs{
		Service: pulumi.String("string"),
		Jira: &pagerduty.JiraCloudAccountMappingRuleConfigJiraArgs{
			AutocreateJql:                pulumi.String("string"),
			CreateIssueOnIncidentTrigger: pulumi.Bool(false),
			CustomFields: pagerduty.JiraCloudAccountMappingRuleConfigJiraCustomFieldArray{
				&pagerduty.JiraCloudAccountMappingRuleConfigJiraCustomFieldArgs{
					TargetIssueField:     pulumi.String("string"),
					TargetIssueFieldName: pulumi.String("string"),
					Type:                 pulumi.String("string"),
					SourceIncidentField:  pulumi.String("string"),
					Value:                pulumi.String("string"),
				},
			},
			IssueType: &pagerduty.JiraCloudAccountMappingRuleConfigJiraIssueTypeArgs{
				Id:   pulumi.String("string"),
				Name: pulumi.String("string"),
			},
			Priorities: pagerduty.JiraCloudAccountMappingRuleConfigJiraPriorityArray{
				&pagerduty.JiraCloudAccountMappingRuleConfigJiraPriorityArgs{
					JiraId:      pulumi.String("string"),
					PagerdutyId: pulumi.String("string"),
				},
			},
			Project: &pagerduty.JiraCloudAccountMappingRuleConfigJiraProjectArgs{
				Id:   pulumi.String("string"),
				Key:  pulumi.String("string"),
				Name: pulumi.String("string"),
			},
			StatusMapping: &pagerduty.JiraCloudAccountMappingRuleConfigJiraStatusMappingArgs{
				Acknowledged: &pagerduty.JiraCloudAccountMappingRuleConfigJiraStatusMappingAcknowledgedArgs{
					Id:   pulumi.String("string"),
					Name: pulumi.String("string"),
				},
				Resolved: &pagerduty.JiraCloudAccountMappingRuleConfigJiraStatusMappingResolvedArgs{
					Id:   pulumi.String("string"),
					Name: pulumi.String("string"),
				},
				Triggered: &pagerduty.JiraCloudAccountMappingRuleConfigJiraStatusMappingTriggeredArgs{
					Id:   pulumi.String("string"),
					Name: pulumi.String("string"),
				},
			},
			SyncNotesUser: pulumi.String("string"),
		},
	},
	Name: pulumi.String("string"),
})
var jiraCloudAccountMappingRuleResource = new JiraCloudAccountMappingRule("jiraCloudAccountMappingRuleResource", JiraCloudAccountMappingRuleArgs.builder()
    .accountMapping("string")
    .config(JiraCloudAccountMappingRuleConfigArgs.builder()
        .service("string")
        .jira(JiraCloudAccountMappingRuleConfigJiraArgs.builder()
            .autocreateJql("string")
            .createIssueOnIncidentTrigger(false)
            .customFields(JiraCloudAccountMappingRuleConfigJiraCustomFieldArgs.builder()
                .targetIssueField("string")
                .targetIssueFieldName("string")
                .type("string")
                .sourceIncidentField("string")
                .value("string")
                .build())
            .issueType(JiraCloudAccountMappingRuleConfigJiraIssueTypeArgs.builder()
                .id("string")
                .name("string")
                .build())
            .priorities(JiraCloudAccountMappingRuleConfigJiraPriorityArgs.builder()
                .jiraId("string")
                .pagerdutyId("string")
                .build())
            .project(JiraCloudAccountMappingRuleConfigJiraProjectArgs.builder()
                .id("string")
                .key("string")
                .name("string")
                .build())
            .statusMapping(JiraCloudAccountMappingRuleConfigJiraStatusMappingArgs.builder()
                .acknowledged(JiraCloudAccountMappingRuleConfigJiraStatusMappingAcknowledgedArgs.builder()
                    .id("string")
                    .name("string")
                    .build())
                .resolved(JiraCloudAccountMappingRuleConfigJiraStatusMappingResolvedArgs.builder()
                    .id("string")
                    .name("string")
                    .build())
                .triggered(JiraCloudAccountMappingRuleConfigJiraStatusMappingTriggeredArgs.builder()
                    .id("string")
                    .name("string")
                    .build())
                .build())
            .syncNotesUser("string")
            .build())
        .build())
    .name("string")
    .build());
jira_cloud_account_mapping_rule_resource = pagerduty.JiraCloudAccountMappingRule("jiraCloudAccountMappingRuleResource",
    account_mapping="string",
    config={
        "service": "string",
        "jira": {
            "autocreate_jql": "string",
            "create_issue_on_incident_trigger": False,
            "custom_fields": [{
                "target_issue_field": "string",
                "target_issue_field_name": "string",
                "type": "string",
                "source_incident_field": "string",
                "value": "string",
            }],
            "issue_type": {
                "id": "string",
                "name": "string",
            },
            "priorities": [{
                "jira_id": "string",
                "pagerduty_id": "string",
            }],
            "project": {
                "id": "string",
                "key": "string",
                "name": "string",
            },
            "status_mapping": {
                "acknowledged": {
                    "id": "string",
                    "name": "string",
                },
                "resolved": {
                    "id": "string",
                    "name": "string",
                },
                "triggered": {
                    "id": "string",
                    "name": "string",
                },
            },
            "sync_notes_user": "string",
        },
    },
    name="string")
const jiraCloudAccountMappingRuleResource = new pagerduty.JiraCloudAccountMappingRule("jiraCloudAccountMappingRuleResource", {
    accountMapping: "string",
    config: {
        service: "string",
        jira: {
            autocreateJql: "string",
            createIssueOnIncidentTrigger: false,
            customFields: [{
                targetIssueField: "string",
                targetIssueFieldName: "string",
                type: "string",
                sourceIncidentField: "string",
                value: "string",
            }],
            issueType: {
                id: "string",
                name: "string",
            },
            priorities: [{
                jiraId: "string",
                pagerdutyId: "string",
            }],
            project: {
                id: "string",
                key: "string",
                name: "string",
            },
            statusMapping: {
                acknowledged: {
                    id: "string",
                    name: "string",
                },
                resolved: {
                    id: "string",
                    name: "string",
                },
                triggered: {
                    id: "string",
                    name: "string",
                },
            },
            syncNotesUser: "string",
        },
    },
    name: "string",
});
type: pagerduty:JiraCloudAccountMappingRule
properties:
    accountMapping: string
    config:
        jira:
            autocreateJql: string
            createIssueOnIncidentTrigger: false
            customFields:
                - sourceIncidentField: string
                  targetIssueField: string
                  targetIssueFieldName: string
                  type: string
                  value: string
            issueType:
                id: string
                name: string
            priorities:
                - jiraId: string
                  pagerdutyId: string
            project:
                id: string
                key: string
                name: string
            statusMapping:
                acknowledged:
                    id: string
                    name: string
                resolved:
                    id: string
                    name: string
                triggered:
                    id: string
                    name: string
            syncNotesUser: string
        service: string
    name: string
JiraCloudAccountMappingRule Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The JiraCloudAccountMappingRule resource accepts the following input properties:
- Account
Mapping string - [Updating can cause a resource replacement] The account mapping this rule belongs to.
 - Config
Jira
Cloud Account Mapping Rule Config  - Configuration for bidirectional synchronization between Jira issues and PagerDuty incidents.
 - Name string
 - The name of the rule.
 
- Account
Mapping string - [Updating can cause a resource replacement] The account mapping this rule belongs to.
 - Config
Jira
Cloud Account Mapping Rule Config Args  - Configuration for bidirectional synchronization between Jira issues and PagerDuty incidents.
 - Name string
 - The name of the rule.
 
- account
Mapping String - [Updating can cause a resource replacement] The account mapping this rule belongs to.
 - config
Jira
Cloud Account Mapping Rule Config  - Configuration for bidirectional synchronization between Jira issues and PagerDuty incidents.
 - name String
 - The name of the rule.
 
- account
Mapping string - [Updating can cause a resource replacement] The account mapping this rule belongs to.
 - config
Jira
Cloud Account Mapping Rule Config  - Configuration for bidirectional synchronization between Jira issues and PagerDuty incidents.
 - name string
 - The name of the rule.
 
- account_
mapping str - [Updating can cause a resource replacement] The account mapping this rule belongs to.
 - config
Jira
Cloud Account Mapping Rule Config Args  - Configuration for bidirectional synchronization between Jira issues and PagerDuty incidents.
 - name str
 - The name of the rule.
 
- account
Mapping String - [Updating can cause a resource replacement] The account mapping this rule belongs to.
 - config Property Map
 - Configuration for bidirectional synchronization between Jira issues and PagerDuty incidents.
 - name String
 - The name of the rule.
 
Outputs
All input properties are implicitly available as output properties. Additionally, the JiraCloudAccountMappingRule resource produces the following output properties:
- Autocreate
Jql stringDisabled Reason  - If auto-creation using JQL is disabled, this field provides the reason for the disablement.
 - Autocreate
Jql stringDisabled Until  - The timestamp until which the auto-creation using JQL feature is disabled.
 - Id string
 - The provider-assigned unique ID for this managed resource.
 
- Autocreate
Jql stringDisabled Reason  - If auto-creation using JQL is disabled, this field provides the reason for the disablement.
 - Autocreate
Jql stringDisabled Until  - The timestamp until which the auto-creation using JQL feature is disabled.
 - Id string
 - The provider-assigned unique ID for this managed resource.
 
- autocreate
Jql StringDisabled Reason  - If auto-creation using JQL is disabled, this field provides the reason for the disablement.
 - autocreate
Jql StringDisabled Until  - The timestamp until which the auto-creation using JQL feature is disabled.
 - id String
 - The provider-assigned unique ID for this managed resource.
 
- autocreate
Jql stringDisabled Reason  - If auto-creation using JQL is disabled, this field provides the reason for the disablement.
 - autocreate
Jql stringDisabled Until  - The timestamp until which the auto-creation using JQL feature is disabled.
 - id string
 - The provider-assigned unique ID for this managed resource.
 
- autocreate_
jql_ strdisabled_ reason  - If auto-creation using JQL is disabled, this field provides the reason for the disablement.
 - autocreate_
jql_ strdisabled_ until  - The timestamp until which the auto-creation using JQL feature is disabled.
 - id str
 - The provider-assigned unique ID for this managed resource.
 
- autocreate
Jql StringDisabled Reason  - If auto-creation using JQL is disabled, this field provides the reason for the disablement.
 - autocreate
Jql StringDisabled Until  - The timestamp until which the auto-creation using JQL feature is disabled.
 - id String
 - The provider-assigned unique ID for this managed resource.
 
Look up Existing JiraCloudAccountMappingRule Resource
Get an existing JiraCloudAccountMappingRule resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
public static get(name: string, id: Input<ID>, state?: JiraCloudAccountMappingRuleState, opts?: CustomResourceOptions): JiraCloudAccountMappingRule@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        account_mapping: Optional[str] = None,
        autocreate_jql_disabled_reason: Optional[str] = None,
        autocreate_jql_disabled_until: Optional[str] = None,
        config: Optional[JiraCloudAccountMappingRuleConfigArgs] = None,
        name: Optional[str] = None) -> JiraCloudAccountMappingRulefunc GetJiraCloudAccountMappingRule(ctx *Context, name string, id IDInput, state *JiraCloudAccountMappingRuleState, opts ...ResourceOption) (*JiraCloudAccountMappingRule, error)public static JiraCloudAccountMappingRule Get(string name, Input<string> id, JiraCloudAccountMappingRuleState? state, CustomResourceOptions? opts = null)public static JiraCloudAccountMappingRule get(String name, Output<String> id, JiraCloudAccountMappingRuleState state, CustomResourceOptions options)resources:  _:    type: pagerduty:JiraCloudAccountMappingRule    get:      id: ${id}- name
 - The unique name of the resulting resource.
 - id
 - The unique provider ID of the resource to lookup.
 - state
 - Any extra arguments used during the lookup.
 - opts
 - A bag of options that control this resource's behavior.
 
- resource_name
 - The unique name of the resulting resource.
 - id
 - The unique provider ID of the resource to lookup.
 
- name
 - The unique name of the resulting resource.
 - id
 - The unique provider ID of the resource to lookup.
 - state
 - Any extra arguments used during the lookup.
 - opts
 - A bag of options that control this resource's behavior.
 
- name
 - The unique name of the resulting resource.
 - id
 - The unique provider ID of the resource to lookup.
 - state
 - Any extra arguments used during the lookup.
 - opts
 - A bag of options that control this resource's behavior.
 
- name
 - The unique name of the resulting resource.
 - id
 - The unique provider ID of the resource to lookup.
 - state
 - Any extra arguments used during the lookup.
 - opts
 - A bag of options that control this resource's behavior.
 
- Account
Mapping string - [Updating can cause a resource replacement] The account mapping this rule belongs to.
 - Autocreate
Jql stringDisabled Reason  - If auto-creation using JQL is disabled, this field provides the reason for the disablement.
 - Autocreate
Jql stringDisabled Until  - The timestamp until which the auto-creation using JQL feature is disabled.
 - Config
Jira
Cloud Account Mapping Rule Config  - Configuration for bidirectional synchronization between Jira issues and PagerDuty incidents.
 - Name string
 - The name of the rule.
 
- Account
Mapping string - [Updating can cause a resource replacement] The account mapping this rule belongs to.
 - Autocreate
Jql stringDisabled Reason  - If auto-creation using JQL is disabled, this field provides the reason for the disablement.
 - Autocreate
Jql stringDisabled Until  - The timestamp until which the auto-creation using JQL feature is disabled.
 - Config
Jira
Cloud Account Mapping Rule Config Args  - Configuration for bidirectional synchronization between Jira issues and PagerDuty incidents.
 - Name string
 - The name of the rule.
 
- account
Mapping String - [Updating can cause a resource replacement] The account mapping this rule belongs to.
 - autocreate
Jql StringDisabled Reason  - If auto-creation using JQL is disabled, this field provides the reason for the disablement.
 - autocreate
Jql StringDisabled Until  - The timestamp until which the auto-creation using JQL feature is disabled.
 - config
Jira
Cloud Account Mapping Rule Config  - Configuration for bidirectional synchronization between Jira issues and PagerDuty incidents.
 - name String
 - The name of the rule.
 
- account
Mapping string - [Updating can cause a resource replacement] The account mapping this rule belongs to.
 - autocreate
Jql stringDisabled Reason  - If auto-creation using JQL is disabled, this field provides the reason for the disablement.
 - autocreate
Jql stringDisabled Until  - The timestamp until which the auto-creation using JQL feature is disabled.
 - config
Jira
Cloud Account Mapping Rule Config  - Configuration for bidirectional synchronization between Jira issues and PagerDuty incidents.
 - name string
 - The name of the rule.
 
- account_
mapping str - [Updating can cause a resource replacement] The account mapping this rule belongs to.
 - autocreate_
jql_ strdisabled_ reason  - If auto-creation using JQL is disabled, this field provides the reason for the disablement.
 - autocreate_
jql_ strdisabled_ until  - The timestamp until which the auto-creation using JQL feature is disabled.
 - config
Jira
Cloud Account Mapping Rule Config Args  - Configuration for bidirectional synchronization between Jira issues and PagerDuty incidents.
 - name str
 - The name of the rule.
 
- account
Mapping String - [Updating can cause a resource replacement] The account mapping this rule belongs to.
 - autocreate
Jql StringDisabled Reason  - If auto-creation using JQL is disabled, this field provides the reason for the disablement.
 - autocreate
Jql StringDisabled Until  - The timestamp until which the auto-creation using JQL feature is disabled.
 - config Property Map
 - Configuration for bidirectional synchronization between Jira issues and PagerDuty incidents.
 - name String
 - The name of the rule.
 
Supporting Types
JiraCloudAccountMappingRuleConfig, JiraCloudAccountMappingRuleConfigArgs            
- Service string
 - [Updating can cause a resource replacement] The ID of the linked PagerDuty service.
 - Jira
Jira
Cloud Account Mapping Rule Config Jira  - Synchronization settings.
 
- Service string
 - [Updating can cause a resource replacement] The ID of the linked PagerDuty service.
 - Jira
Jira
Cloud Account Mapping Rule Config Jira  - Synchronization settings.
 
- service String
 - [Updating can cause a resource replacement] The ID of the linked PagerDuty service.
 - jira
Jira
Cloud Account Mapping Rule Config Jira  - Synchronization settings.
 
- service string
 - [Updating can cause a resource replacement] The ID of the linked PagerDuty service.
 - jira
Jira
Cloud Account Mapping Rule Config Jira  - Synchronization settings.
 
- service str
 - [Updating can cause a resource replacement] The ID of the linked PagerDuty service.
 - jira
Jira
Cloud Account Mapping Rule Config Jira  - Synchronization settings.
 
- service String
 - [Updating can cause a resource replacement] The ID of the linked PagerDuty service.
 - jira Property Map
 - Synchronization settings.
 
JiraCloudAccountMappingRuleConfigJira, JiraCloudAccountMappingRuleConfigJiraArgs              
- Autocreate
Jql string - JQL query to automatically create PagerDuty incidents when matching Jira issues are created. Leave empty to disable this feature.
 - Create
Issue boolOn Incident Trigger  - When enabled, automatically creates a Jira issue whenever a PagerDuty incident is triggered.
 - Custom
Fields List<JiraCloud Account Mapping Rule Config Jira Custom Field>  - Defines how Jira fields are populated when a Jira Issue is created from a PagerDuty Incident.
 - Issue
Type JiraCloud Account Mapping Rule Config Jira Issue Type  - Specifies the Jira issue type to be created or synchronized with PagerDuty incidents.
 - Priorities
List<Jira
Cloud Account Mapping Rule Config Jira Priority>  - Maps PagerDuty incident priorities to Jira issue priorities for synchronization.
 - Project
Jira
Cloud Account Mapping Rule Config Jira Project  - [Updating can cause a resource replacement] Defines the Jira project where issues will be created or synchronized.
 - Status
Mapping JiraCloud Account Mapping Rule Config Jira Status Mapping  - Maps PagerDuty incident statuses to corresponding Jira issue statuses for synchronization.
 - Sync
Notes stringUser  - ID of the PagerDuty user for syncing notes and comments between Jira issues and PagerDuty incidents. If not provided, note synchronization is disabled.
 
- Autocreate
Jql string - JQL query to automatically create PagerDuty incidents when matching Jira issues are created. Leave empty to disable this feature.
 - Create
Issue boolOn Incident Trigger  - When enabled, automatically creates a Jira issue whenever a PagerDuty incident is triggered.
 - Custom
Fields []JiraCloud Account Mapping Rule Config Jira Custom Field  - Defines how Jira fields are populated when a Jira Issue is created from a PagerDuty Incident.
 - Issue
Type JiraCloud Account Mapping Rule Config Jira Issue Type  - Specifies the Jira issue type to be created or synchronized with PagerDuty incidents.
 - Priorities
[]Jira
Cloud Account Mapping Rule Config Jira Priority  - Maps PagerDuty incident priorities to Jira issue priorities for synchronization.
 - Project
Jira
Cloud Account Mapping Rule Config Jira Project  - [Updating can cause a resource replacement] Defines the Jira project where issues will be created or synchronized.
 - Status
Mapping JiraCloud Account Mapping Rule Config Jira Status Mapping  - Maps PagerDuty incident statuses to corresponding Jira issue statuses for synchronization.
 - Sync
Notes stringUser  - ID of the PagerDuty user for syncing notes and comments between Jira issues and PagerDuty incidents. If not provided, note synchronization is disabled.
 
- autocreate
Jql String - JQL query to automatically create PagerDuty incidents when matching Jira issues are created. Leave empty to disable this feature.
 - create
Issue BooleanOn Incident Trigger  - When enabled, automatically creates a Jira issue whenever a PagerDuty incident is triggered.
 - custom
Fields List<JiraCloud Account Mapping Rule Config Jira Custom Field>  - Defines how Jira fields are populated when a Jira Issue is created from a PagerDuty Incident.
 - issue
Type JiraCloud Account Mapping Rule Config Jira Issue Type  - Specifies the Jira issue type to be created or synchronized with PagerDuty incidents.
 - priorities
List<Jira
Cloud Account Mapping Rule Config Jira Priority>  - Maps PagerDuty incident priorities to Jira issue priorities for synchronization.
 - project
Jira
Cloud Account Mapping Rule Config Jira Project  - [Updating can cause a resource replacement] Defines the Jira project where issues will be created or synchronized.
 - status
Mapping JiraCloud Account Mapping Rule Config Jira Status Mapping  - Maps PagerDuty incident statuses to corresponding Jira issue statuses for synchronization.
 - sync
Notes StringUser  - ID of the PagerDuty user for syncing notes and comments between Jira issues and PagerDuty incidents. If not provided, note synchronization is disabled.
 
- autocreate
Jql string - JQL query to automatically create PagerDuty incidents when matching Jira issues are created. Leave empty to disable this feature.
 - create
Issue booleanOn Incident Trigger  - When enabled, automatically creates a Jira issue whenever a PagerDuty incident is triggered.
 - custom
Fields JiraCloud Account Mapping Rule Config Jira Custom Field[]  - Defines how Jira fields are populated when a Jira Issue is created from a PagerDuty Incident.
 - issue
Type JiraCloud Account Mapping Rule Config Jira Issue Type  - Specifies the Jira issue type to be created or synchronized with PagerDuty incidents.
 - priorities
Jira
Cloud Account Mapping Rule Config Jira Priority[]  - Maps PagerDuty incident priorities to Jira issue priorities for synchronization.
 - project
Jira
Cloud Account Mapping Rule Config Jira Project  - [Updating can cause a resource replacement] Defines the Jira project where issues will be created or synchronized.
 - status
Mapping JiraCloud Account Mapping Rule Config Jira Status Mapping  - Maps PagerDuty incident statuses to corresponding Jira issue statuses for synchronization.
 - sync
Notes stringUser  - ID of the PagerDuty user for syncing notes and comments between Jira issues and PagerDuty incidents. If not provided, note synchronization is disabled.
 
- autocreate_
jql str - JQL query to automatically create PagerDuty incidents when matching Jira issues are created. Leave empty to disable this feature.
 - create_
issue_ boolon_ incident_ trigger  - When enabled, automatically creates a Jira issue whenever a PagerDuty incident is triggered.
 - custom_
fields Sequence[JiraCloud Account Mapping Rule Config Jira Custom Field]  - Defines how Jira fields are populated when a Jira Issue is created from a PagerDuty Incident.
 - issue_
type JiraCloud Account Mapping Rule Config Jira Issue Type  - Specifies the Jira issue type to be created or synchronized with PagerDuty incidents.
 - priorities
Sequence[Jira
Cloud Account Mapping Rule Config Jira Priority]  - Maps PagerDuty incident priorities to Jira issue priorities for synchronization.
 - project
Jira
Cloud Account Mapping Rule Config Jira Project  - [Updating can cause a resource replacement] Defines the Jira project where issues will be created or synchronized.
 - status_
mapping JiraCloud Account Mapping Rule Config Jira Status Mapping  - Maps PagerDuty incident statuses to corresponding Jira issue statuses for synchronization.
 - sync_
notes_ struser  - ID of the PagerDuty user for syncing notes and comments between Jira issues and PagerDuty incidents. If not provided, note synchronization is disabled.
 
- autocreate
Jql String - JQL query to automatically create PagerDuty incidents when matching Jira issues are created. Leave empty to disable this feature.
 - create
Issue BooleanOn Incident Trigger  - When enabled, automatically creates a Jira issue whenever a PagerDuty incident is triggered.
 - custom
Fields List<Property Map> - Defines how Jira fields are populated when a Jira Issue is created from a PagerDuty Incident.
 - issue
Type Property Map - Specifies the Jira issue type to be created or synchronized with PagerDuty incidents.
 - priorities List<Property Map>
 - Maps PagerDuty incident priorities to Jira issue priorities for synchronization.
 - project Property Map
 - [Updating can cause a resource replacement] Defines the Jira project where issues will be created or synchronized.
 - status
Mapping Property Map - Maps PagerDuty incident statuses to corresponding Jira issue statuses for synchronization.
 - sync
Notes StringUser  - ID of the PagerDuty user for syncing notes and comments between Jira issues and PagerDuty incidents. If not provided, note synchronization is disabled.
 
JiraCloudAccountMappingRuleConfigJiraCustomField, JiraCloudAccountMappingRuleConfigJiraCustomFieldArgs                  
- Target
Issue stringField  - The unique identifier key of the Jira field that will be set.
 - Target
Issue stringField Name  - The human-readable name of the Jira field.
 - Type string
 - The type of the value that will be set; one of 
attribute,constorjira_value. - Source
Incident stringField  - The PagerDuty incident field from which the value will be extracted (only applicable if 
typeisattribute); one ofincident_number,incident_title,incident_description,incident_status,incident_created_at,incident_service,incident_escalation_policy,incident_impacted_services,incident_html_url,incident_assignees,incident_acknowledgers,incident_last_status_change_at,incident_last_status_change_by,incident_urgencyorincident_priority. - Value string
 - The value to be set for the Jira field (only applicable if 
typeisconstorjira_value). It must be set as a JSON string. 
- Target
Issue stringField  - The unique identifier key of the Jira field that will be set.
 - Target
Issue stringField Name  - The human-readable name of the Jira field.
 - Type string
 - The type of the value that will be set; one of 
attribute,constorjira_value. - Source
Incident stringField  - The PagerDuty incident field from which the value will be extracted (only applicable if 
typeisattribute); one ofincident_number,incident_title,incident_description,incident_status,incident_created_at,incident_service,incident_escalation_policy,incident_impacted_services,incident_html_url,incident_assignees,incident_acknowledgers,incident_last_status_change_at,incident_last_status_change_by,incident_urgencyorincident_priority. - Value string
 - The value to be set for the Jira field (only applicable if 
typeisconstorjira_value). It must be set as a JSON string. 
- target
Issue StringField  - The unique identifier key of the Jira field that will be set.
 - target
Issue StringField Name  - The human-readable name of the Jira field.
 - type String
 - The type of the value that will be set; one of 
attribute,constorjira_value. - source
Incident StringField  - The PagerDuty incident field from which the value will be extracted (only applicable if 
typeisattribute); one ofincident_number,incident_title,incident_description,incident_status,incident_created_at,incident_service,incident_escalation_policy,incident_impacted_services,incident_html_url,incident_assignees,incident_acknowledgers,incident_last_status_change_at,incident_last_status_change_by,incident_urgencyorincident_priority. - value String
 - The value to be set for the Jira field (only applicable if 
typeisconstorjira_value). It must be set as a JSON string. 
- target
Issue stringField  - The unique identifier key of the Jira field that will be set.
 - target
Issue stringField Name  - The human-readable name of the Jira field.
 - type string
 - The type of the value that will be set; one of 
attribute,constorjira_value. - source
Incident stringField  - The PagerDuty incident field from which the value will be extracted (only applicable if 
typeisattribute); one ofincident_number,incident_title,incident_description,incident_status,incident_created_at,incident_service,incident_escalation_policy,incident_impacted_services,incident_html_url,incident_assignees,incident_acknowledgers,incident_last_status_change_at,incident_last_status_change_by,incident_urgencyorincident_priority. - value string
 - The value to be set for the Jira field (only applicable if 
typeisconstorjira_value). It must be set as a JSON string. 
- target_
issue_ strfield  - The unique identifier key of the Jira field that will be set.
 - target_
issue_ strfield_ name  - The human-readable name of the Jira field.
 - type str
 - The type of the value that will be set; one of 
attribute,constorjira_value. - source_
incident_ strfield  - The PagerDuty incident field from which the value will be extracted (only applicable if 
typeisattribute); one ofincident_number,incident_title,incident_description,incident_status,incident_created_at,incident_service,incident_escalation_policy,incident_impacted_services,incident_html_url,incident_assignees,incident_acknowledgers,incident_last_status_change_at,incident_last_status_change_by,incident_urgencyorincident_priority. - value str
 - The value to be set for the Jira field (only applicable if 
typeisconstorjira_value). It must be set as a JSON string. 
- target
Issue StringField  - The unique identifier key of the Jira field that will be set.
 - target
Issue StringField Name  - The human-readable name of the Jira field.
 - type String
 - The type of the value that will be set; one of 
attribute,constorjira_value. - source
Incident StringField  - The PagerDuty incident field from which the value will be extracted (only applicable if 
typeisattribute); one ofincident_number,incident_title,incident_description,incident_status,incident_created_at,incident_service,incident_escalation_policy,incident_impacted_services,incident_html_url,incident_assignees,incident_acknowledgers,incident_last_status_change_at,incident_last_status_change_by,incident_urgencyorincident_priority. - value String
 - The value to be set for the Jira field (only applicable if 
typeisconstorjira_value). It must be set as a JSON string. 
JiraCloudAccountMappingRuleConfigJiraIssueType, JiraCloudAccountMappingRuleConfigJiraIssueTypeArgs                  
JiraCloudAccountMappingRuleConfigJiraPriority, JiraCloudAccountMappingRuleConfigJiraPriorityArgs                
- Jira
Id string - The ID of the Jira priority.
 - Pagerduty
Id string - The ID of the PagerDuty priority.
 
- Jira
Id string - The ID of the Jira priority.
 - Pagerduty
Id string - The ID of the PagerDuty priority.
 
- jira
Id String - The ID of the Jira priority.
 - pagerduty
Id String - The ID of the PagerDuty priority.
 
- jira
Id string - The ID of the Jira priority.
 - pagerduty
Id string - The ID of the PagerDuty priority.
 
- jira_
id str - The ID of the Jira priority.
 - pagerduty_
id str - The ID of the PagerDuty priority.
 
- jira
Id String - The ID of the Jira priority.
 - pagerduty
Id String - The ID of the PagerDuty priority.
 
JiraCloudAccountMappingRuleConfigJiraProject, JiraCloudAccountMappingRuleConfigJiraProjectArgs                
JiraCloudAccountMappingRuleConfigJiraStatusMapping, JiraCloudAccountMappingRuleConfigJiraStatusMappingArgs                  
- Acknowledged
Jira
Cloud Account Mapping Rule Config Jira Status Mapping Acknowledged  - Jira status that maps to the PagerDuty 
acknowledgedstatus. - Resolved
Jira
Cloud Account Mapping Rule Config Jira Status Mapping Resolved  - Jira status that maps to the PagerDuty 
resolvedstatus. - Triggered
Jira
Cloud Account Mapping Rule Config Jira Status Mapping Triggered  - Jira status that maps to the PagerDuty 
triggeredstatus. 
- Acknowledged
Jira
Cloud Account Mapping Rule Config Jira Status Mapping Acknowledged  - Jira status that maps to the PagerDuty 
acknowledgedstatus. - Resolved
Jira
Cloud Account Mapping Rule Config Jira Status Mapping Resolved  - Jira status that maps to the PagerDuty 
resolvedstatus. - Triggered
Jira
Cloud Account Mapping Rule Config Jira Status Mapping Triggered  - Jira status that maps to the PagerDuty 
triggeredstatus. 
- acknowledged
Jira
Cloud Account Mapping Rule Config Jira Status Mapping Acknowledged  - Jira status that maps to the PagerDuty 
acknowledgedstatus. - resolved
Jira
Cloud Account Mapping Rule Config Jira Status Mapping Resolved  - Jira status that maps to the PagerDuty 
resolvedstatus. - triggered
Jira
Cloud Account Mapping Rule Config Jira Status Mapping Triggered  - Jira status that maps to the PagerDuty 
triggeredstatus. 
- acknowledged
Jira
Cloud Account Mapping Rule Config Jira Status Mapping Acknowledged  - Jira status that maps to the PagerDuty 
acknowledgedstatus. - resolved
Jira
Cloud Account Mapping Rule Config Jira Status Mapping Resolved  - Jira status that maps to the PagerDuty 
resolvedstatus. - triggered
Jira
Cloud Account Mapping Rule Config Jira Status Mapping Triggered  - Jira status that maps to the PagerDuty 
triggeredstatus. 
- acknowledged
Jira
Cloud Account Mapping Rule Config Jira Status Mapping Acknowledged  - Jira status that maps to the PagerDuty 
acknowledgedstatus. - resolved
Jira
Cloud Account Mapping Rule Config Jira Status Mapping Resolved  - Jira status that maps to the PagerDuty 
resolvedstatus. - triggered
Jira
Cloud Account Mapping Rule Config Jira Status Mapping Triggered  - Jira status that maps to the PagerDuty 
triggeredstatus. 
- acknowledged Property Map
 - Jira status that maps to the PagerDuty 
acknowledgedstatus. - resolved Property Map
 - Jira status that maps to the PagerDuty 
resolvedstatus. - triggered Property Map
 - Jira status that maps to the PagerDuty 
triggeredstatus. 
JiraCloudAccountMappingRuleConfigJiraStatusMappingAcknowledged, JiraCloudAccountMappingRuleConfigJiraStatusMappingAcknowledgedArgs                    
JiraCloudAccountMappingRuleConfigJiraStatusMappingResolved, JiraCloudAccountMappingRuleConfigJiraStatusMappingResolvedArgs                    
JiraCloudAccountMappingRuleConfigJiraStatusMappingTriggered, JiraCloudAccountMappingRuleConfigJiraStatusMappingTriggeredArgs                    
Import
Jira Cloud account mapping rules can be imported using the account_mapping_id and rule_id, e.g.
$ pulumi import pagerduty:index/jiraCloudAccountMappingRule:JiraCloudAccountMappingRule main PLBP09X:PLB09Z
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
 - PagerDuty pulumi/pulumi-pagerduty
 - License
 - Apache-2.0
 - Notes
 - This Pulumi package is based on the 
pagerdutyTerraform Provider.