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

rootly.WorkflowTaskCreateJiraSubtask

Explore with Pulumi AI

rootly logo
Rootly v1.5.0 published on Thursday, Apr 25, 2024 by Rootly

    Manages workflow create_jira_subtask task.

    Create WorkflowTaskCreateJiraSubtask Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new WorkflowTaskCreateJiraSubtask(name: string, args: WorkflowTaskCreateJiraSubtaskArgs, opts?: CustomResourceOptions);
    @overload
    def WorkflowTaskCreateJiraSubtask(resource_name: str,
                                      args: WorkflowTaskCreateJiraSubtaskArgs,
                                      opts: Optional[ResourceOptions] = None)
    
    @overload
    def WorkflowTaskCreateJiraSubtask(resource_name: str,
                                      opts: Optional[ResourceOptions] = None,
                                      task_params: Optional[WorkflowTaskCreateJiraSubtaskTaskParamsArgs] = 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 NewWorkflowTaskCreateJiraSubtask(ctx *Context, name string, args WorkflowTaskCreateJiraSubtaskArgs, opts ...ResourceOption) (*WorkflowTaskCreateJiraSubtask, error)
    public WorkflowTaskCreateJiraSubtask(string name, WorkflowTaskCreateJiraSubtaskArgs args, CustomResourceOptions? opts = null)
    public WorkflowTaskCreateJiraSubtask(String name, WorkflowTaskCreateJiraSubtaskArgs args)
    public WorkflowTaskCreateJiraSubtask(String name, WorkflowTaskCreateJiraSubtaskArgs args, CustomResourceOptions options)
    
    type: rootly:WorkflowTaskCreateJiraSubtask
    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 WorkflowTaskCreateJiraSubtaskArgs
    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 WorkflowTaskCreateJiraSubtaskArgs
    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 WorkflowTaskCreateJiraSubtaskArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args WorkflowTaskCreateJiraSubtaskArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args WorkflowTaskCreateJiraSubtaskArgs
    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 workflowTaskCreateJiraSubtaskResource = new Rootly.WorkflowTaskCreateJiraSubtask("workflowTaskCreateJiraSubtaskResource", new()
    {
        TaskParams = new Rootly.Inputs.WorkflowTaskCreateJiraSubtaskTaskParamsArgs
        {
            ParentIssueId = "string",
            Title = "string",
            SubtaskIssueType = 
            {
                { "string", "any" },
            },
            ProjectKey = "string",
            DueDate = "string",
            Labels = "string",
            Integration = 
            {
                { "string", "any" },
            },
            Priority = 
            {
                { "string", "any" },
            },
            AssignUserEmail = "string",
            ReporterUserEmail = "string",
            Status = 
            {
                { "string", "any" },
            },
            Description = "string",
            TaskType = "string",
            CustomFieldsMapping = "string",
            UpdatePayload = "string",
        },
        WorkflowId = "string",
        Enabled = false,
        Name = "string",
        Position = 0,
        SkipOnFailure = false,
    });
    
    example, err := rootly.NewWorkflowTaskCreateJiraSubtask(ctx, "workflowTaskCreateJiraSubtaskResource", &rootly.WorkflowTaskCreateJiraSubtaskArgs{
    	TaskParams: &rootly.WorkflowTaskCreateJiraSubtaskTaskParamsArgs{
    		ParentIssueId: pulumi.String("string"),
    		Title:         pulumi.String("string"),
    		SubtaskIssueType: pulumi.Map{
    			"string": pulumi.Any("any"),
    		},
    		ProjectKey: pulumi.String("string"),
    		DueDate:    pulumi.String("string"),
    		Labels:     pulumi.String("string"),
    		Integration: pulumi.Map{
    			"string": pulumi.Any("any"),
    		},
    		Priority: pulumi.Map{
    			"string": pulumi.Any("any"),
    		},
    		AssignUserEmail:   pulumi.String("string"),
    		ReporterUserEmail: pulumi.String("string"),
    		Status: pulumi.Map{
    			"string": pulumi.Any("any"),
    		},
    		Description:         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 workflowTaskCreateJiraSubtaskResource = new WorkflowTaskCreateJiraSubtask("workflowTaskCreateJiraSubtaskResource", WorkflowTaskCreateJiraSubtaskArgs.builder()
        .taskParams(WorkflowTaskCreateJiraSubtaskTaskParamsArgs.builder()
            .parentIssueId("string")
            .title("string")
            .subtaskIssueType(Map.of("string", "any"))
            .projectKey("string")
            .dueDate("string")
            .labels("string")
            .integration(Map.of("string", "any"))
            .priority(Map.of("string", "any"))
            .assignUserEmail("string")
            .reporterUserEmail("string")
            .status(Map.of("string", "any"))
            .description("string")
            .taskType("string")
            .customFieldsMapping("string")
            .updatePayload("string")
            .build())
        .workflowId("string")
        .enabled(false)
        .name("string")
        .position(0)
        .skipOnFailure(false)
        .build());
    
    workflow_task_create_jira_subtask_resource = rootly.WorkflowTaskCreateJiraSubtask("workflowTaskCreateJiraSubtaskResource",
        task_params={
            "parent_issue_id": "string",
            "title": "string",
            "subtask_issue_type": {
                "string": "any",
            },
            "project_key": "string",
            "due_date": "string",
            "labels": "string",
            "integration": {
                "string": "any",
            },
            "priority": {
                "string": "any",
            },
            "assign_user_email": "string",
            "reporter_user_email": "string",
            "status": {
                "string": "any",
            },
            "description": "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 workflowTaskCreateJiraSubtaskResource = new rootly.WorkflowTaskCreateJiraSubtask("workflowTaskCreateJiraSubtaskResource", {
        taskParams: {
            parentIssueId: "string",
            title: "string",
            subtaskIssueType: {
                string: "any",
            },
            projectKey: "string",
            dueDate: "string",
            labels: "string",
            integration: {
                string: "any",
            },
            priority: {
                string: "any",
            },
            assignUserEmail: "string",
            reporterUserEmail: "string",
            status: {
                string: "any",
            },
            description: "string",
            taskType: "string",
            customFieldsMapping: "string",
            updatePayload: "string",
        },
        workflowId: "string",
        enabled: false,
        name: "string",
        position: 0,
        skipOnFailure: false,
    });
    
    type: rootly:WorkflowTaskCreateJiraSubtask
    properties:
        enabled: false
        name: string
        position: 0
        skipOnFailure: false
        taskParams:
            assignUserEmail: string
            customFieldsMapping: string
            description: string
            dueDate: string
            integration:
                string: any
            labels: string
            parentIssueId: string
            priority:
                string: any
            projectKey: string
            reporterUserEmail: string
            status:
                string: any
            subtaskIssueType:
                string: any
            taskType: string
            title: string
            updatePayload: string
        workflowId: string
    

    WorkflowTaskCreateJiraSubtask 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 WorkflowTaskCreateJiraSubtask resource accepts the following input properties:

    TaskParams WorkflowTaskCreateJiraSubtaskTaskParams
    The parameters for this workflow task.
    WorkflowId 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 WorkflowTaskCreateJiraSubtaskTaskParamsArgs
    The parameters for this workflow task.
    WorkflowId 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 WorkflowTaskCreateJiraSubtaskTaskParams
    The parameters for this workflow task.
    workflowId 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 WorkflowTaskCreateJiraSubtaskTaskParams
    The parameters for this workflow task.
    workflowId 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 WorkflowTaskCreateJiraSubtaskTaskParamsArgs
    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_failure bool
    Skip workflow task if any failures
    taskParams Property Map
    The parameters for this workflow task.
    workflowId 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 WorkflowTaskCreateJiraSubtask 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 WorkflowTaskCreateJiraSubtask Resource

    Get an existing WorkflowTaskCreateJiraSubtask 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?: WorkflowTaskCreateJiraSubtaskState, opts?: CustomResourceOptions): WorkflowTaskCreateJiraSubtask
    @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[WorkflowTaskCreateJiraSubtaskTaskParamsArgs] = None,
            workflow_id: Optional[str] = None) -> WorkflowTaskCreateJiraSubtask
    func GetWorkflowTaskCreateJiraSubtask(ctx *Context, name string, id IDInput, state *WorkflowTaskCreateJiraSubtaskState, opts ...ResourceOption) (*WorkflowTaskCreateJiraSubtask, error)
    public static WorkflowTaskCreateJiraSubtask Get(string name, Input<string> id, WorkflowTaskCreateJiraSubtaskState? state, CustomResourceOptions? opts = null)
    public static WorkflowTaskCreateJiraSubtask get(String name, Output<String> id, WorkflowTaskCreateJiraSubtaskState state, CustomResourceOptions options)
    Resource lookup is not supported in YAML
    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.
    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 WorkflowTaskCreateJiraSubtaskTaskParams
    The parameters for this workflow task.
    WorkflowId 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 WorkflowTaskCreateJiraSubtaskTaskParamsArgs
    The parameters for this workflow task.
    WorkflowId 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 WorkflowTaskCreateJiraSubtaskTaskParams
    The parameters for this workflow task.
    workflowId 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 WorkflowTaskCreateJiraSubtaskTaskParams
    The parameters for this workflow task.
    workflowId 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 WorkflowTaskCreateJiraSubtaskTaskParamsArgs
    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)
    skipOnFailure Boolean
    Skip workflow task if any failures
    taskParams Property Map
    The parameters for this workflow task.
    workflowId String
    The ID of the parent workflow

    Supporting Types

    WorkflowTaskCreateJiraSubtaskTaskParams, WorkflowTaskCreateJiraSubtaskTaskParamsArgs

    ParentIssueId string
    The parent issue
    ProjectKey string
    The project key
    SubtaskIssueType Dictionary<string, object>
    Map must contain two fields, id and name. The issue type id and display name
    Title 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
    ParentIssueId string
    The parent issue
    ProjectKey string
    The project key
    SubtaskIssueType map[string]interface{}
    Map must contain two fields, id and name. The issue type id and display name
    Title 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
    parentIssueId String
    The parent issue
    projectKey String
    The project key
    subtaskIssueType Map<String,Object>
    Map must contain two fields, id and name. The issue type id and display name
    title 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
    parentIssueId string
    The parent issue
    projectKey string
    The project key
    subtaskIssueType {[key: string]: any}
    Map must contain two fields, id and name. The issue type id and display name
    title 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
    parent_issue_id str
    The parent issue
    project_key str
    The project key
    subtask_issue_type Mapping[str, Any]
    Map must contain two fields, id and name. The issue type id and display name
    title 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
    parentIssueId String
    The parent issue
    projectKey String
    The project key
    subtaskIssueType Map<Any>
    Map must contain two fields, id and name. The issue type id and display name
    title 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.
    rootly logo
    Rootly v1.5.0 published on Thursday, Apr 25, 2024 by Rootly