rootly.WorkflowTaskCreateJiraSubtask
Explore with Pulumi AI
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=rootly.WorkflowTaskCreateJiraSubtaskTaskParamsArgs(
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
The WorkflowTaskCreateJiraSubtask resource accepts the following input properties:
- Task
Params WorkflowTask Create Jira Subtask 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 Subtask 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 Subtask 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 Subtask 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 Subtask 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 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.
- 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 Subtask 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 Subtask 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 Subtask 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 Subtask 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 Subtask 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
WorkflowTaskCreateJiraSubtaskTaskParams, WorkflowTaskCreateJiraSubtaskTaskParamsArgs
- Parent
Issue stringId - The parent issue
- Project
Key string - The project key
- Subtask
Issue Dictionary<string, object>Type - Map must contain two fields,
id
andname
. The issue type id and display name - 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, object>
- Map must contain two fields,
id
andname
. 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
andname
. The priority id and display name - Reporter
User stringEmail - The reporter user's email
- Status Dictionary<string, object>
- Map must contain two fields,
id
andname
. The status id and display name - Task
Type string - Update
Payload string - Update payload. Can contain liquid markup and need to be valid JSON
- Parent
Issue stringId - The parent issue
- Project
Key string - The project key
- Subtask
Issue map[string]interface{}Type - Map must contain two fields,
id
andname
. The issue type id and display name - 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]interface{}
- Map must contain two fields,
id
andname
. 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
andname
. The priority id and display name - Reporter
User stringEmail - The reporter user's email
- Status map[string]interface{}
- Map must contain two fields,
id
andname
. The status id and display name - Task
Type string - Update
Payload string - Update payload. Can contain liquid markup and need to be valid JSON
- parent
Issue StringId - The parent issue
- project
Key String - The project key
- subtask
Issue Map<String,Object>Type - Map must contain two fields,
id
andname
. The issue type id and display name - 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,Object>
- Map must contain two fields,
id
andname
. 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
andname
. The priority id and display name - reporter
User StringEmail - The reporter user's email
- status Map<String,Object>
- Map must contain two fields,
id
andname
. The status id and display name - task
Type String - update
Payload String - Update payload. Can contain liquid markup and need to be valid JSON
- parent
Issue stringId - The parent issue
- project
Key string - The project key
- subtask
Issue {[key: string]: any}Type - Map must contain two fields,
id
andname
. The issue type id and display name - 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]: any}
- Map must contain two fields,
id
andname
. 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
andname
. The priority id and display name - reporter
User stringEmail - The reporter user's email
- status {[key: string]: any}
- Map must contain two fields,
id
andname
. The status id and display name - task
Type string - update
Payload string - Update payload. Can contain liquid markup and need to be valid JSON
- parent_
issue_ strid - The parent issue
- project_
key str - The project key
- subtask_
issue_ Mapping[str, Any]type - Map must contain two fields,
id
andname
. The issue type id and display name - 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, Any]
- Map must contain two fields,
id
andname
. 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
andname
. The priority id and display name - reporter_
user_ stremail - The reporter user's email
- status Mapping[str, Any]
- Map must contain two fields,
id
andname
. The status id and display name - task_
type str - update_
payload str - Update payload. Can contain liquid markup and need to be valid JSON
- parent
Issue StringId - The parent issue
- project
Key String - The project key
- subtask
Issue Map<Any>Type - Map must contain two fields,
id
andname
. The issue type id and display name - 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<Any>
- Map must contain two fields,
id
andname
. 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
andname
. The priority id and display name - reporter
User StringEmail - The reporter user's email
- status Map<Any>
- Map must contain two fields,
id
andname
. The status id and display name - task
Type String - update
Payload 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.