1. Packages
  2. Rootly
  3. API Docs
  4. WorkflowTaskCreateJiraIssue
Rootly v1.5.0 published on Thursday, Apr 25, 2024 by Rootly

rootly.WorkflowTaskCreateJiraIssue

Explore with Pulumi AI

Manages workflow create_jira_issue task.

Example Usage

using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Rootly = Pulumi.Rootly;

return await Deployment.RunAsync(() => 
{
    var jiraWorkflowIncident = new Rootly.WorkflowIncident("jiraWorkflowIncident", new()
    {
        Description = "Open Jira ticket whenever incident starts",
        TriggerParams = new Rootly.Inputs.WorkflowIncidentTriggerParamsArgs
        {
            Triggers = new[]
            {
                "incident_created",
            },
            IncidentConditionKind = "IS",
            IncidentKinds = new[]
            {
                "normal",
            },
            IncidentConditionStatus = "IS",
            IncidentStatuses = new[]
            {
                "started",
            },
        },
        Enabled = true,
    });

    var jiraWorkflowTaskCreateJiraIssue = new Rootly.WorkflowTaskCreateJiraIssue("jiraWorkflowTaskCreateJiraIssue", new()
    {
        WorkflowId = jiraWorkflowIncident.Id,
        SkipOnFailure = false,
        Enabled = true,
        TaskParams = new Rootly.Inputs.WorkflowTaskCreateJiraIssueTaskParamsArgs
        {
            Title = "{{ incident.title }}",
            Description = "{{ incident.summary }}",
            ProjectKey = "ROOT",
            IssueType = 
            {
                { "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: \",\" }}",
        },
    });

});
Copy
package main

import (
	"github.com/pulumi/pulumi-rootly/sdk/go/rootly"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		jiraWorkflowIncident, err := rootly.NewWorkflowIncident(ctx, "jiraWorkflowIncident", &rootly.WorkflowIncidentArgs{
			Description: pulumi.String("Open Jira ticket whenever incident starts"),
			TriggerParams: &rootly.WorkflowIncidentTriggerParamsArgs{
				Triggers: pulumi.StringArray{
					pulumi.String("incident_created"),
				},
				IncidentConditionKind: pulumi.String("IS"),
				IncidentKinds: pulumi.StringArray{
					pulumi.String("normal"),
				},
				IncidentConditionStatus: pulumi.String("IS"),
				IncidentStatuses: pulumi.StringArray{
					pulumi.String("started"),
				},
			},
			Enabled: pulumi.Bool(true),
		})
		if err != nil {
			return err
		}
		_, err = rootly.NewWorkflowTaskCreateJiraIssue(ctx, "jiraWorkflowTaskCreateJiraIssue", &rootly.WorkflowTaskCreateJiraIssueArgs{
			WorkflowId:    jiraWorkflowIncident.ID(),
			SkipOnFailure: pulumi.Bool(false),
			Enabled:       pulumi.Bool(true),
			TaskParams: &rootly.WorkflowTaskCreateJiraIssueTaskParamsArgs{
				Title:       pulumi.String("{{ incident.title }}"),
				Description: pulumi.String("{{ incident.summary }}"),
				ProjectKey:  pulumi.String("ROOT"),
				IssueType: pulumi.Map{
					"id":   pulumi.Any("10001"),
					"name": pulumi.Any("Task"),
				},
				Status: pulumi.Map{
					"id":   pulumi.Any("10000"),
					"name": pulumi.Any("To Do"),
				},
				Labels: pulumi.String("{{ incident.environment_slugs | concat: incident.service_slugs | concat: incident.functionality_slugs | concat: incident.group_slugs | join: \",\" }}"),
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}
Copy
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.rootly.WorkflowIncident;
import com.pulumi.rootly.WorkflowIncidentArgs;
import com.pulumi.rootly.inputs.WorkflowIncidentTriggerParamsArgs;
import com.pulumi.rootly.WorkflowTaskCreateJiraIssue;
import com.pulumi.rootly.WorkflowTaskCreateJiraIssueArgs;
import com.pulumi.rootly.inputs.WorkflowTaskCreateJiraIssueTaskParamsArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;

public class App {
    public static void main(String[] args) {
        Pulumi.run(App::stack);
    }

    public static void stack(Context ctx) {
        var jiraWorkflowIncident = new WorkflowIncident("jiraWorkflowIncident", WorkflowIncidentArgs.builder()        
            .description("Open Jira ticket whenever incident starts")
            .triggerParams(WorkflowIncidentTriggerParamsArgs.builder()
                .triggers("incident_created")
                .incidentConditionKind("IS")
                .incidentKinds("normal")
                .incidentConditionStatus("IS")
                .incidentStatuses("started")
                .build())
            .enabled(true)
            .build());

        var jiraWorkflowTaskCreateJiraIssue = new WorkflowTaskCreateJiraIssue("jiraWorkflowTaskCreateJiraIssue", WorkflowTaskCreateJiraIssueArgs.builder()        
            .workflowId(jiraWorkflowIncident.id())
            .skipOnFailure(false)
            .enabled(true)
            .taskParams(WorkflowTaskCreateJiraIssueTaskParamsArgs.builder()
                .title("{{ incident.title }}")
                .description("{{ incident.summary }}")
                .projectKey("ROOT")
                .issueType(Map.ofEntries(
                    Map.entry("id", "10001"),
                    Map.entry("name", "Task")
                ))
                .status(Map.ofEntries(
                    Map.entry("id", "10000"),
                    Map.entry("name", "To Do")
                ))
                .labels("{{ incident.environment_slugs | concat: incident.service_slugs | concat: incident.functionality_slugs | concat: incident.group_slugs | join: \",\" }}")
                .build())
            .build());

    }
}
Copy
import * as pulumi from "@pulumi/pulumi";
import * as rootly from "@pulumi/rootly";

const jiraWorkflowIncident = new rootly.WorkflowIncident("jiraWorkflowIncident", {
    description: "Open Jira ticket whenever incident starts",
    triggerParams: {
        triggers: ["incident_created"],
        incidentConditionKind: "IS",
        incidentKinds: ["normal"],
        incidentConditionStatus: "IS",
        incidentStatuses: ["started"],
    },
    enabled: true,
});
const jiraWorkflowTaskCreateJiraIssue = new rootly.WorkflowTaskCreateJiraIssue("jiraWorkflowTaskCreateJiraIssue", {
    workflowId: jiraWorkflowIncident.id,
    skipOnFailure: false,
    enabled: true,
    taskParams: {
        title: "{{ incident.title }}",
        description: "{{ incident.summary }}",
        projectKey: "ROOT",
        issueType: {
            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: \",\" }}",
    },
});
Copy
import pulumi
import pulumi_rootly as rootly

jira_workflow_incident = rootly.WorkflowIncident("jiraWorkflowIncident",
    description="Open Jira ticket whenever incident starts",
    trigger_params=rootly.WorkflowIncidentTriggerParamsArgs(
        triggers=["incident_created"],
        incident_condition_kind="IS",
        incident_kinds=["normal"],
        incident_condition_status="IS",
        incident_statuses=["started"],
    ),
    enabled=True)
jira_workflow_task_create_jira_issue = rootly.WorkflowTaskCreateJiraIssue("jiraWorkflowTaskCreateJiraIssue",
    workflow_id=jira_workflow_incident.id,
    skip_on_failure=False,
    enabled=True,
    task_params=rootly.WorkflowTaskCreateJiraIssueTaskParamsArgs(
        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: \",\" }}",
    ))
Copy
resources:
  jiraWorkflowIncident:
    type: rootly:WorkflowIncident
    properties:
      description: Open Jira ticket whenever incident starts
      triggerParams:
        triggers:
          - incident_created
        incidentConditionKind: IS
        incidentKinds:
          - normal
        incidentConditionStatus: IS
        incidentStatuses:
          - started
      enabled: true
  jiraWorkflowTaskCreateJiraIssue:
    type: rootly:WorkflowTaskCreateJiraIssue
    properties:
      workflowId: ${jiraWorkflowIncident.id}
      skipOnFailure: false
      enabled: true
      taskParams:
        title: '{{ incident.title }}'
        description: '{{ incident.summary }}'
        projectKey: ROOT
        issueType:
          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: "," }}'
Copy

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 This property is required. string
The unique name of the resource.
args This property is required. WorkflowTaskCreateJiraIssueArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
resource_name This property is required. str
The unique name of the resource.
args This property is required. 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 This property is required. string
The unique name of the resource.
args This property is required. WorkflowTaskCreateJiraIssueArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name This property is required. string
The unique name of the resource.
args This property is required. WorkflowTaskCreateJiraIssueArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name This property is required. String
The unique name of the resource.
args This property is required. 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", "any" },
        },
        Title = "string",
        ProjectKey = "string",
        Labels = "string",
        Integration = 
        {
            { "string", "any" },
        },
        DueDate = "string",
        AssignUserEmail = "string",
        Priority = 
        {
            { "string", "any" },
        },
        Description = "string",
        ReporterUserEmail = "string",
        Status = 
        {
            { "string", "any" },
        },
        TaskType = "string",
        CustomFieldsMapping = "string",
        UpdatePayload = "string",
    },
    WorkflowId = "string",
    Enabled = false,
    Name = "string",
    Position = 0,
    SkipOnFailure = false,
});
Copy
example, err := rootly.NewWorkflowTaskCreateJiraIssue(ctx, "workflowTaskCreateJiraIssueResource", &rootly.WorkflowTaskCreateJiraIssueArgs{
	TaskParams: &rootly.WorkflowTaskCreateJiraIssueTaskParamsArgs{
		IssueType: pulumi.Map{
			"string": pulumi.Any("any"),
		},
		Title:      pulumi.String("string"),
		ProjectKey: pulumi.String("string"),
		Labels:     pulumi.String("string"),
		Integration: pulumi.Map{
			"string": pulumi.Any("any"),
		},
		DueDate:         pulumi.String("string"),
		AssignUserEmail: pulumi.String("string"),
		Priority: pulumi.Map{
			"string": pulumi.Any("any"),
		},
		Description:       pulumi.String("string"),
		ReporterUserEmail: pulumi.String("string"),
		Status: pulumi.Map{
			"string": pulumi.Any("any"),
		},
		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),
})
Copy
var workflowTaskCreateJiraIssueResource = new WorkflowTaskCreateJiraIssue("workflowTaskCreateJiraIssueResource", WorkflowTaskCreateJiraIssueArgs.builder()
    .taskParams(WorkflowTaskCreateJiraIssueTaskParamsArgs.builder()
        .issueType(Map.of("string", "any"))
        .title("string")
        .projectKey("string")
        .labels("string")
        .integration(Map.of("string", "any"))
        .dueDate("string")
        .assignUserEmail("string")
        .priority(Map.of("string", "any"))
        .description("string")
        .reporterUserEmail("string")
        .status(Map.of("string", "any"))
        .taskType("string")
        .customFieldsMapping("string")
        .updatePayload("string")
        .build())
    .workflowId("string")
    .enabled(false)
    .name("string")
    .position(0)
    .skipOnFailure(false)
    .build());
Copy
workflow_task_create_jira_issue_resource = rootly.WorkflowTaskCreateJiraIssue("workflowTaskCreateJiraIssueResource",
    task_params={
        "issue_type": {
            "string": "any",
        },
        "title": "string",
        "project_key": "string",
        "labels": "string",
        "integration": {
            "string": "any",
        },
        "due_date": "string",
        "assign_user_email": "string",
        "priority": {
            "string": "any",
        },
        "description": "string",
        "reporter_user_email": "string",
        "status": {
            "string": "any",
        },
        "task_type": "string",
        "custom_fields_mapping": "string",
        "update_payload": "string",
    },
    workflow_id="string",
    enabled=False,
    name="string",
    position=0,
    skip_on_failure=False)
Copy
const workflowTaskCreateJiraIssueResource = new rootly.WorkflowTaskCreateJiraIssue("workflowTaskCreateJiraIssueResource", {
    taskParams: {
        issueType: {
            string: "any",
        },
        title: "string",
        projectKey: "string",
        labels: "string",
        integration: {
            string: "any",
        },
        dueDate: "string",
        assignUserEmail: "string",
        priority: {
            string: "any",
        },
        description: "string",
        reporterUserEmail: "string",
        status: {
            string: "any",
        },
        taskType: "string",
        customFieldsMapping: "string",
        updatePayload: "string",
    },
    workflowId: "string",
    enabled: false,
    name: "string",
    position: 0,
    skipOnFailure: false,
});
Copy
type: rootly:WorkflowTaskCreateJiraIssue
properties:
    enabled: false
    name: string
    position: 0
    skipOnFailure: false
    taskParams:
        assignUserEmail: string
        customFieldsMapping: string
        description: string
        dueDate: string
        integration:
            string: any
        issueType:
            string: any
        labels: string
        priority:
            string: any
        projectKey: string
        reporterUserEmail: string
        status:
            string: any
        taskType: string
        title: string
        updatePayload: string
    workflowId: string
Copy

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:

TaskParams This property is required. WorkflowTaskCreateJiraIssueTaskParams
The parameters for this workflow task.
WorkflowId
This property is required.
Changes to this property will trigger replacement.
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)
SkipOnFailure bool
Skip workflow task if any failures
TaskParams This property is required. WorkflowTaskCreateJiraIssueTaskParamsArgs
The parameters for this workflow task.
WorkflowId
This property is required.
Changes to this property will trigger replacement.
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)
SkipOnFailure bool
Skip workflow task if any failures
taskParams This property is required. WorkflowTaskCreateJiraIssueTaskParams
The parameters for this workflow task.
workflowId
This property is required.
Changes to this property will trigger replacement.
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)
skipOnFailure Boolean
Skip workflow task if any failures
taskParams This property is required. WorkflowTaskCreateJiraIssueTaskParams
The parameters for this workflow task.
workflowId
This property is required.
Changes to this property will trigger replacement.
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)
skipOnFailure boolean
Skip workflow task if any failures
task_params This property is required. WorkflowTaskCreateJiraIssueTaskParamsArgs
The parameters for this workflow task.
workflow_id
This property is required.
Changes to this property will trigger replacement.
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_failure bool
Skip workflow task if any failures
taskParams This property is required. Property Map
The parameters for this workflow task.
workflowId
This property is required.
Changes to this property will trigger replacement.
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)
skipOnFailure Boolean
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) -> WorkflowTaskCreateJiraIssue
func 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 This property is required.
The unique name of the resulting resource.
id This property is required.
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 This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
name This property is required.
The unique name of the resulting resource.
id This property is required.
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 This property is required.
The unique name of the resulting resource.
id This property is required.
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 This property is required.
The unique name of the resulting resource.
id This property is required.
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.
The following state arguments are supported:
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)
SkipOnFailure bool
Skip workflow task if any failures
TaskParams WorkflowTaskCreateJiraIssueTaskParams
The parameters for this workflow task.
WorkflowId Changes to this property will trigger replacement. 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)
SkipOnFailure bool
Skip workflow task if any failures
TaskParams WorkflowTaskCreateJiraIssueTaskParamsArgs
The parameters for this workflow task.
WorkflowId Changes to this property will trigger replacement. 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)
skipOnFailure Boolean
Skip workflow task if any failures
taskParams WorkflowTaskCreateJiraIssueTaskParams
The parameters for this workflow task.
workflowId Changes to this property will trigger replacement. 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)
skipOnFailure boolean
Skip workflow task if any failures
taskParams WorkflowTaskCreateJiraIssueTaskParams
The parameters for this workflow task.
workflowId Changes to this property will trigger replacement. 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_failure bool
Skip workflow task if any failures
task_params WorkflowTaskCreateJiraIssueTaskParamsArgs
The parameters for this workflow task.
workflow_id Changes to this property will trigger replacement. 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)
skipOnFailure Boolean
Skip workflow task if any failures
taskParams Property Map
The parameters for this workflow task.
workflowId Changes to this property will trigger replacement. String
The ID of the parent workflow

Supporting Types

WorkflowTaskCreateJiraIssueTaskParams
, WorkflowTaskCreateJiraIssueTaskParamsArgs

IssueType This property is required. Dictionary<string, object>
Map must contain two fields, id and name. The issue type id and display name
ProjectKey This property is required. string
The project key
Title This property is required. string
The issue title
AssignUserEmail string
The assigned user's email
CustomFieldsMapping string
Custom field mappings. Can contain liquid markup and need to be valid JSON
Description string
The issue description
DueDate string
The due date
Integration Dictionary<string, object>
Map must contain two fields, id and name. Specify integration id if you have more than one Jira instance
Labels string
The issue labels
Priority Dictionary<string, object>
Map must contain two fields, id and name. The priority id and display name
ReporterUserEmail string
The reporter user's email
Status Dictionary<string, object>
Map must contain two fields, id and name. The status id and display name
TaskType string
UpdatePayload string
Update payload. Can contain liquid markup and need to be valid JSON
IssueType This property is required. map[string]interface{}
Map must contain two fields, id and name. The issue type id and display name
ProjectKey This property is required. string
The project key
Title This property is required. string
The issue title
AssignUserEmail string
The assigned user's email
CustomFieldsMapping string
Custom field mappings. Can contain liquid markup and need to be valid JSON
Description string
The issue description
DueDate string
The due date
Integration map[string]interface{}
Map must contain two fields, id and name. Specify integration id if you have more than one Jira instance
Labels string
The issue labels
Priority map[string]interface{}
Map must contain two fields, id and name. The priority id and display name
ReporterUserEmail string
The reporter user's email
Status map[string]interface{}
Map must contain two fields, id and name. The status id and display name
TaskType string
UpdatePayload string
Update payload. Can contain liquid markup and need to be valid JSON
issueType This property is required. Map<String,Object>
Map must contain two fields, id and name. The issue type id and display name
projectKey This property is required. String
The project key
title This property is required. String
The issue title
assignUserEmail String
The assigned user's email
customFieldsMapping String
Custom field mappings. Can contain liquid markup and need to be valid JSON
description String
The issue description
dueDate String
The due date
integration Map<String,Object>
Map must contain two fields, id and name. Specify integration id if you have more than one Jira instance
labels String
The issue labels
priority Map<String,Object>
Map must contain two fields, id and name. The priority id and display name
reporterUserEmail String
The reporter user's email
status Map<String,Object>
Map must contain two fields, id and name. The status id and display name
taskType String
updatePayload String
Update payload. Can contain liquid markup and need to be valid JSON
issueType This property is required. {[key: string]: any}
Map must contain two fields, id and name. The issue type id and display name
projectKey This property is required. string
The project key
title This property is required. string
The issue title
assignUserEmail string
The assigned user's email
customFieldsMapping string
Custom field mappings. Can contain liquid markup and need to be valid JSON
description string
The issue description
dueDate string
The due date
integration {[key: string]: any}
Map must contain two fields, id and name. Specify integration id if you have more than one Jira instance
labels string
The issue labels
priority {[key: string]: any}
Map must contain two fields, id and name. The priority id and display name
reporterUserEmail string
The reporter user's email
status {[key: string]: any}
Map must contain two fields, id and name. The status id and display name
taskType string
updatePayload string
Update payload. Can contain liquid markup and need to be valid JSON
issue_type This property is required. Mapping[str, Any]
Map must contain two fields, id and name. The issue type id and display name
project_key This property is required. str
The project key
title This property is required. str
The issue title
assign_user_email str
The assigned user's email
custom_fields_mapping str
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, Any]
Map must contain two fields, id and name. Specify integration id if you have more than one Jira instance
labels str
The issue labels
priority Mapping[str, Any]
Map must contain two fields, id and name. The priority id and display name
reporter_user_email str
The reporter user's email
status Mapping[str, Any]
Map must contain two fields, id and name. The status id and display name
task_type str
update_payload str
Update payload. Can contain liquid markup and need to be valid JSON
issueType This property is required. Map<Any>
Map must contain two fields, id and name. The issue type id and display name
projectKey This property is required. String
The project key
title This property is required. String
The issue title
assignUserEmail String
The assigned user's email
customFieldsMapping String
Custom field mappings. Can contain liquid markup and need to be valid JSON
description String
The issue description
dueDate String
The due date
integration Map<Any>
Map must contain two fields, id and name. Specify integration id if you have more than one Jira instance
labels String
The issue labels
priority Map<Any>
Map must contain two fields, id and name. The priority id and display name
reporterUserEmail String
The reporter user's email
status Map<Any>
Map must contain two fields, id and name. The status id and display name
taskType String
updatePayload String
Update payload. Can contain liquid markup and need to be valid JSON

Package Details

Repository
rootly rootlyhq/pulumi-rootly
License
Apache-2.0
Notes
This Pulumi package is based on the rootly Terraform Provider.