published on Thursday, May 7, 2026 by rootlyhq
published on Thursday, May 7, 2026 by rootlyhq
Manages workflow createJiraIssue task.
Example Usage
resource "rootly_workflow_incident" "jira" {
name = "Create a Jira Issue"
description = "Open Jira ticket whenever incident starts"
trigger_params {
triggers = ["incident_created"]
incident_condition_kind = "IS"
incident_kinds = ["normal"]
incident_condition_status = "IS"
incident_statuses = ["started"]
}
enabled = true
}
resource "rootly_workflow_task_create_jira_issue" "jira" {
workflow_id = rootly_workflow_incident.jira.id
skip_on_failure = false
enabled = true
task_params {
title = "{{ incident.title }}"
description = "{{ incident.summary }}"
project_key = "ROOT"
issue_type = {
id = "10001"
name = "Task"
}
status = {
id = "10000"
name = "To Do"
}
labels = "{{ incident.environment_slugs | concat: incident.service_slugs | concat: incident.functionality_slugs | concat: incident.group_slugs | join: \",\" }}"
}
}
Create WorkflowTaskCreateJiraIssue Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new WorkflowTaskCreateJiraIssue(name: string, args: WorkflowTaskCreateJiraIssueArgs, opts?: CustomResourceOptions);@overload
def WorkflowTaskCreateJiraIssue(resource_name: str,
args: WorkflowTaskCreateJiraIssueArgs,
opts: Optional[ResourceOptions] = None)
@overload
def WorkflowTaskCreateJiraIssue(resource_name: str,
opts: Optional[ResourceOptions] = None,
task_params: Optional[WorkflowTaskCreateJiraIssueTaskParamsArgs] = None,
workflow_id: Optional[str] = None,
enabled: Optional[bool] = None,
name: Optional[str] = None,
position: Optional[int] = None,
skip_on_failure: Optional[bool] = None)func NewWorkflowTaskCreateJiraIssue(ctx *Context, name string, args WorkflowTaskCreateJiraIssueArgs, opts ...ResourceOption) (*WorkflowTaskCreateJiraIssue, error)public WorkflowTaskCreateJiraIssue(string name, WorkflowTaskCreateJiraIssueArgs args, CustomResourceOptions? opts = null)
public WorkflowTaskCreateJiraIssue(String name, WorkflowTaskCreateJiraIssueArgs args)
public WorkflowTaskCreateJiraIssue(String name, WorkflowTaskCreateJiraIssueArgs args, CustomResourceOptions options)
type: rootly:WorkflowTaskCreateJiraIssue
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 WorkflowTaskCreateJiraIssueArgs
- 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 WorkflowTaskCreateJiraIssueArgs
- 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 WorkflowTaskCreateJiraIssueArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args WorkflowTaskCreateJiraIssueArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args WorkflowTaskCreateJiraIssueArgs
- 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 workflowTaskCreateJiraIssueResource = new Rootly.WorkflowTaskCreateJiraIssue("workflowTaskCreateJiraIssueResource", new()
{
TaskParams = new Rootly.Inputs.WorkflowTaskCreateJiraIssueTaskParamsArgs
{
IssueType =
{
{ "string", "string" },
},
Title = "string",
ProjectKey = "string",
Labels = "string",
Integration =
{
{ "string", "string" },
},
DueDate = "string",
AssignUserEmail = "string",
Priority =
{
{ "string", "string" },
},
Description = "string",
ReporterUserEmail = "string",
Status =
{
{ "string", "string" },
},
TaskType = "string",
CustomFieldsMapping = "string",
UpdatePayload = "string",
},
WorkflowId = "string",
Enabled = false,
Name = "string",
Position = 0,
SkipOnFailure = false,
});
example, err := rootly.NewWorkflowTaskCreateJiraIssue(ctx, "workflowTaskCreateJiraIssueResource", &rootly.WorkflowTaskCreateJiraIssueArgs{
TaskParams: &rootly.WorkflowTaskCreateJiraIssueTaskParamsArgs{
IssueType: pulumi.StringMap{
"string": pulumi.String("string"),
},
Title: pulumi.String("string"),
ProjectKey: pulumi.String("string"),
Labels: pulumi.String("string"),
Integration: pulumi.StringMap{
"string": pulumi.String("string"),
},
DueDate: pulumi.String("string"),
AssignUserEmail: pulumi.String("string"),
Priority: pulumi.StringMap{
"string": pulumi.String("string"),
},
Description: pulumi.String("string"),
ReporterUserEmail: pulumi.String("string"),
Status: pulumi.StringMap{
"string": pulumi.String("string"),
},
TaskType: pulumi.String("string"),
CustomFieldsMapping: pulumi.String("string"),
UpdatePayload: pulumi.String("string"),
},
WorkflowId: pulumi.String("string"),
Enabled: pulumi.Bool(false),
Name: pulumi.String("string"),
Position: pulumi.Int(0),
SkipOnFailure: pulumi.Bool(false),
})
var workflowTaskCreateJiraIssueResource = new WorkflowTaskCreateJiraIssue("workflowTaskCreateJiraIssueResource", WorkflowTaskCreateJiraIssueArgs.builder()
.taskParams(WorkflowTaskCreateJiraIssueTaskParamsArgs.builder()
.issueType(Map.of("string", "string"))
.title("string")
.projectKey("string")
.labels("string")
.integration(Map.of("string", "string"))
.dueDate("string")
.assignUserEmail("string")
.priority(Map.of("string", "string"))
.description("string")
.reporterUserEmail("string")
.status(Map.of("string", "string"))
.taskType("string")
.customFieldsMapping("string")
.updatePayload("string")
.build())
.workflowId("string")
.enabled(false)
.name("string")
.position(0)
.skipOnFailure(false)
.build());
workflow_task_create_jira_issue_resource = rootly.WorkflowTaskCreateJiraIssue("workflowTaskCreateJiraIssueResource",
task_params={
"issue_type": {
"string": "string",
},
"title": "string",
"project_key": "string",
"labels": "string",
"integration": {
"string": "string",
},
"due_date": "string",
"assign_user_email": "string",
"priority": {
"string": "string",
},
"description": "string",
"reporter_user_email": "string",
"status": {
"string": "string",
},
"task_type": "string",
"custom_fields_mapping": "string",
"update_payload": "string",
},
workflow_id="string",
enabled=False,
name="string",
position=0,
skip_on_failure=False)
const workflowTaskCreateJiraIssueResource = new rootly.WorkflowTaskCreateJiraIssue("workflowTaskCreateJiraIssueResource", {
taskParams: {
issueType: {
string: "string",
},
title: "string",
projectKey: "string",
labels: "string",
integration: {
string: "string",
},
dueDate: "string",
assignUserEmail: "string",
priority: {
string: "string",
},
description: "string",
reporterUserEmail: "string",
status: {
string: "string",
},
taskType: "string",
customFieldsMapping: "string",
updatePayload: "string",
},
workflowId: "string",
enabled: false,
name: "string",
position: 0,
skipOnFailure: false,
});
type: rootly:WorkflowTaskCreateJiraIssue
properties:
enabled: false
name: string
position: 0
skipOnFailure: false
taskParams:
assignUserEmail: string
customFieldsMapping: string
description: string
dueDate: string
integration:
string: string
issueType:
string: string
labels: string
priority:
string: string
projectKey: string
reporterUserEmail: string
status:
string: string
taskType: string
title: string
updatePayload: string
workflowId: string
WorkflowTaskCreateJiraIssue 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 WorkflowTaskCreateJiraIssue resource accepts the following input properties:
- Task
Params WorkflowTask Create Jira Issue Task Params - The parameters for this workflow task.
- Workflow
Id string - The ID of the parent workflow
- Enabled bool
- Enable/disable this workflow task
- Name string
- Name of the workflow task
- Position int
- The position of the workflow task (1 being top of list)
- Skip
On boolFailure - Skip workflow task if any failures
- Task
Params WorkflowTask Create Jira Issue Task Params Args - The parameters for this workflow task.
- Workflow
Id string - The ID of the parent workflow
- Enabled bool
- Enable/disable this workflow task
- Name string
- Name of the workflow task
- Position int
- The position of the workflow task (1 being top of list)
- Skip
On boolFailure - Skip workflow task if any failures
- task
Params WorkflowTask Create Jira Issue Task Params - The parameters for this workflow task.
- workflow
Id String - The ID of the parent workflow
- enabled Boolean
- Enable/disable this workflow task
- name String
- Name of the workflow task
- position Integer
- The position of the workflow task (1 being top of list)
- skip
On BooleanFailure - Skip workflow task if any failures
- task
Params WorkflowTask Create Jira Issue Task Params - The parameters for this workflow task.
- workflow
Id string - The ID of the parent workflow
- enabled boolean
- Enable/disable this workflow task
- name string
- Name of the workflow task
- position number
- The position of the workflow task (1 being top of list)
- skip
On booleanFailure - Skip workflow task if any failures
- task_
params WorkflowTask Create Jira Issue Task Params Args - The parameters for this workflow task.
- workflow_
id str - The ID of the parent workflow
- enabled bool
- Enable/disable this workflow task
- name str
- Name of the workflow task
- position int
- The position of the workflow task (1 being top of list)
- skip_
on_ boolfailure - Skip workflow task if any failures
- task
Params Property Map - The parameters for this workflow task.
- workflow
Id String - The ID of the parent workflow
- enabled Boolean
- Enable/disable this workflow task
- name String
- Name of the workflow task
- position Number
- The position of the workflow task (1 being top of list)
- skip
On BooleanFailure - Skip workflow task if any failures
Outputs
All input properties are implicitly available as output properties. Additionally, the WorkflowTaskCreateJiraIssue resource produces the following output properties:
- Id string
- The provider-assigned unique ID for this managed resource.
- Id string
- The provider-assigned unique ID for this managed resource.
- id String
- The provider-assigned unique ID for this managed resource.
- id string
- The provider-assigned unique ID for this managed resource.
- id str
- The provider-assigned unique ID for this managed resource.
- id String
- The provider-assigned unique ID for this managed resource.
Look up Existing WorkflowTaskCreateJiraIssue Resource
Get an existing WorkflowTaskCreateJiraIssue 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?: WorkflowTaskCreateJiraIssueState, opts?: CustomResourceOptions): WorkflowTaskCreateJiraIssue@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
enabled: Optional[bool] = None,
name: Optional[str] = None,
position: Optional[int] = None,
skip_on_failure: Optional[bool] = None,
task_params: Optional[WorkflowTaskCreateJiraIssueTaskParamsArgs] = None,
workflow_id: Optional[str] = None) -> WorkflowTaskCreateJiraIssuefunc GetWorkflowTaskCreateJiraIssue(ctx *Context, name string, id IDInput, state *WorkflowTaskCreateJiraIssueState, opts ...ResourceOption) (*WorkflowTaskCreateJiraIssue, error)public static WorkflowTaskCreateJiraIssue Get(string name, Input<string> id, WorkflowTaskCreateJiraIssueState? state, CustomResourceOptions? opts = null)public static WorkflowTaskCreateJiraIssue get(String name, Output<String> id, WorkflowTaskCreateJiraIssueState state, CustomResourceOptions options)resources: _: type: rootly:WorkflowTaskCreateJiraIssue 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.
- Enabled bool
- Enable/disable this workflow task
- Name string
- Name of the workflow task
- Position int
- The position of the workflow task (1 being top of list)
- Skip
On boolFailure - Skip workflow task if any failures
- Task
Params WorkflowTask Create Jira Issue Task Params - The parameters for this workflow task.
- Workflow
Id string - The ID of the parent workflow
- Enabled bool
- Enable/disable this workflow task
- Name string
- Name of the workflow task
- Position int
- The position of the workflow task (1 being top of list)
- Skip
On boolFailure - Skip workflow task if any failures
- Task
Params WorkflowTask Create Jira Issue Task Params Args - The parameters for this workflow task.
- Workflow
Id string - The ID of the parent workflow
- enabled Boolean
- Enable/disable this workflow task
- name String
- Name of the workflow task
- position Integer
- The position of the workflow task (1 being top of list)
- skip
On BooleanFailure - Skip workflow task if any failures
- task
Params WorkflowTask Create Jira Issue Task Params - The parameters for this workflow task.
- workflow
Id String - The ID of the parent workflow
- enabled boolean
- Enable/disable this workflow task
- name string
- Name of the workflow task
- position number
- The position of the workflow task (1 being top of list)
- skip
On booleanFailure - Skip workflow task if any failures
- task
Params WorkflowTask Create Jira Issue Task Params - The parameters for this workflow task.
- workflow
Id string - The ID of the parent workflow
- enabled bool
- Enable/disable this workflow task
- name str
- Name of the workflow task
- position int
- The position of the workflow task (1 being top of list)
- skip_
on_ boolfailure - Skip workflow task if any failures
- task_
params WorkflowTask Create Jira Issue Task Params Args - The parameters for this workflow task.
- workflow_
id str - The ID of the parent workflow
- enabled Boolean
- Enable/disable this workflow task
- name String
- Name of the workflow task
- position Number
- The position of the workflow task (1 being top of list)
- skip
On BooleanFailure - Skip workflow task if any failures
- task
Params Property Map - The parameters for this workflow task.
- workflow
Id String - The ID of the parent workflow
Supporting Types
WorkflowTaskCreateJiraIssueTaskParams, WorkflowTaskCreateJiraIssueTaskParamsArgs
- Issue
Type Dictionary<string, string> - Map must contain two fields,
idandname. The issue type id and display name - Project
Key string - The project key
- Title string
- The issue title
- Assign
User stringEmail - The assigned user's email
- Custom
Fields stringMapping - Custom field mappings. Can contain liquid markup and need to be valid JSON
- Description string
- The issue description
- Due
Date string - The due date
- Integration Dictionary<string, string>
- Map must contain two fields,
idandname. Specify integration id if you have more than one Jira instance - Labels string
- The issue labels
- Priority Dictionary<string, string>
- Map must contain two fields,
idandname. The priority id and display name - Reporter
User stringEmail - The reporter user's email
- Status Dictionary<string, string>
- Map must contain two fields,
idandname. The status id and display name - Task
Type string - Update
Payload string - Update payload. Can contain liquid markup and need to be valid JSON
- Issue
Type map[string]string - Map must contain two fields,
idandname. The issue type id and display name - Project
Key string - The project key
- Title string
- The issue title
- Assign
User stringEmail - The assigned user's email
- Custom
Fields stringMapping - Custom field mappings. Can contain liquid markup and need to be valid JSON
- Description string
- The issue description
- Due
Date string - The due date
- Integration map[string]string
- Map must contain two fields,
idandname. Specify integration id if you have more than one Jira instance - Labels string
- The issue labels
- Priority map[string]string
- Map must contain two fields,
idandname. The priority id and display name - Reporter
User stringEmail - The reporter user's email
- Status map[string]string
- Map must contain two fields,
idandname. The status id and display name - Task
Type string - Update
Payload string - Update payload. Can contain liquid markup and need to be valid JSON
- issue
Type Map<String,String> - Map must contain two fields,
idandname. The issue type id and display name - project
Key String - The project key
- title String
- The issue title
- assign
User StringEmail - The assigned user's email
- custom
Fields StringMapping - Custom field mappings. Can contain liquid markup and need to be valid JSON
- description String
- The issue description
- due
Date String - The due date
- integration Map<String,String>
- Map must contain two fields,
idandname. Specify integration id if you have more than one Jira instance - labels String
- The issue labels
- priority Map<String,String>
- Map must contain two fields,
idandname. The priority id and display name - reporter
User StringEmail - The reporter user's email
- status Map<String,String>
- Map must contain two fields,
idandname. The status id and display name - task
Type String - update
Payload String - Update payload. Can contain liquid markup and need to be valid JSON
- issue
Type {[key: string]: string} - Map must contain two fields,
idandname. The issue type id and display name - project
Key string - The project key
- title string
- The issue title
- assign
User stringEmail - The assigned user's email
- custom
Fields stringMapping - Custom field mappings. Can contain liquid markup and need to be valid JSON
- description string
- The issue description
- due
Date string - The due date
- integration {[key: string]: string}
- Map must contain two fields,
idandname. Specify integration id if you have more than one Jira instance - labels string
- The issue labels
- priority {[key: string]: string}
- Map must contain two fields,
idandname. The priority id and display name - reporter
User stringEmail - The reporter user's email
- status {[key: string]: string}
- Map must contain two fields,
idandname. The status id and display name - task
Type string - update
Payload string - Update payload. Can contain liquid markup and need to be valid JSON
- issue_
type Mapping[str, str] - Map must contain two fields,
idandname. The issue type id and display name - project_
key str - The project key
- title str
- The issue title
- assign_
user_ stremail - The assigned user's email
- custom_
fields_ strmapping - Custom field mappings. Can contain liquid markup and need to be valid JSON
- description str
- The issue description
- due_
date str - The due date
- integration Mapping[str, str]
- Map must contain two fields,
idandname. Specify integration id if you have more than one Jira instance - labels str
- The issue labels
- priority Mapping[str, str]
- Map must contain two fields,
idandname. The priority id and display name - reporter_
user_ stremail - The reporter user's email
- status Mapping[str, str]
- Map must contain two fields,
idandname. The status id and display name - task_
type str - update_
payload str - Update payload. Can contain liquid markup and need to be valid JSON
- issue
Type Map<String> - Map must contain two fields,
idandname. The issue type id and display name - project
Key String - The project key
- title String
- The issue title
- assign
User StringEmail - The assigned user's email
- custom
Fields StringMapping - Custom field mappings. Can contain liquid markup and need to be valid JSON
- description String
- The issue description
- due
Date String - The due date
- integration Map<String>
- Map must contain two fields,
idandname. Specify integration id if you have more than one Jira instance - labels String
- The issue labels
- priority Map<String>
- Map must contain two fields,
idandname. The priority id and display name - reporter
User StringEmail - The reporter user's email
- status Map<String>
- Map must contain two fields,
idandname. The status id and display name - task
Type String - update
Payload String - Update payload. Can contain liquid markup and need to be valid JSON
Import
rootly.WorkflowTaskCreateJiraIssue can be imported using the import command.
$ pulumi import rootly:index/workflowTaskCreateJiraIssue:WorkflowTaskCreateJiraIssue primary a816421c-6ceb-481a-87c4-585e47451f24
Or using an import block.
Locate the resource id in the web app, or retrieve it by listing resources through the API if it’s not visible in the web app.
HCL can be generated from the import block using the -generate-config-out flag.
pulumi preview -generate-config-out=generated.tf
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- rootly rootlyhq/pulumi-rootly
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
rootlyTerraform Provider.
published on Thursday, May 7, 2026 by rootlyhq
