atlcloudjira_workflow_scheme (Resource)
Example Usage
import {
to = atlcloudjira_workflow_scheme.SampleWorkflowSchemeResource
id = "10022"
}
# __generated__ by Terraform
# Please review these resources and move them into your main configuration files.
# __generated__ by Terraform from "10022"
resource "atlcloudjira_workflow_scheme" "TestWorkflowSchemeResource" {
name = "Test Workflow Scheme"
description = "Test description"
default_workflow_id = "5a48e58d-7ee5-4646-b485-5f943dc02b7f"
scope = {
type = "GLOBAL"
}
workflow_issue_type_mapping = [
{
issue_type_ids = ["10000", "10001"]
workflow_id = "9306c5a2-0485-47b3-b78a-d9b4e1739261"
},
{
issue_type_ids = ["10002", "10009"]
workflow_id = "5a48e58d-7ee5-4646-b485-5f943dc02b7f"
},
]
/* Attributes below required only during resource destruction */
replace_with = 10039
status_mappings_by_workflows = [
{
new_workflow_id = "9306c5a2-0485-47b3-b78a-d9b4e1739261"
old_workflow_id = " 5a48e58d-7ee5-4646-b485-5f943dc02b7f"
status_mappings = [
{
new_status_id = "3"
old_status_id = "10007"
},
{
new_status_id = "3"
old_status_id = "10002"
},
]
},
{
new_workflow_id = "5a48e58d-7ee5-4646-b485-5f943dc02b7f"
old_workflow_id = " jira"
status_mappings = [
{
new_status_id = "3"
old_status_id = "1"
},
{
new_status_id = "3"
old_status_id = "4"
},
{
new_status_id = "3"
old_status_id = "5"
},
{
new_status_id = "3"
old_status_id = "6"
},
]
},
]
status_mappings_by_issue_types = [
{
issue_type_id = "10000"
status_mappings = [
{
new_status_id = "3"
old_status_id = "10007"
},
{
new_status_id = "3"
old_status_id = "10002"
},
]
},
{
issue_type_id = "10004"
status_mappings = [
{
new_status_id = "3"
old_status_id = "1"
},
{
new_status_id = "3"
old_status_id = "4"
},
{
new_status_id = "3"
old_status_id = "5"
},
{
new_status_id = "3"
old_status_id = "6"
},
]
},
]
}Schema
Required
Optional
Read-Only
Nested Schema for scope
scopeNested Schema for scope.project
scope.projectNested Schema for status_mappings_by_issue_types
status_mappings_by_issue_typesNested Schema for status_mappings_by_issue_types.status_mappings
status_mappings_by_issue_types.status_mappingsNested Schema for status_mappings_by_workflows
status_mappings_by_workflowsNested Schema for status_mappings_by_workflows.status_mappings
status_mappings_by_workflows.status_mappingsNested Schema for workflow_issue_type_mapping
workflow_issue_type_mapping