atlcloudjira_project (Resource)
Example Usage
/*
List of available project type key <-> Project Template Key value pairs
Project Type Key Project Template Key
business - com.atlassian.jira-core-project-templates:jira-core-simplified-content-management,
com.atlassian.jira-core-project-templates:jira-core-simplified-document-approval,
com.atlassian.jira-core-project-templates:jira-core-simplified-lead-tracking,
com.atlassian.jira-core-project-templates:jira-core-simplified-process-control,
com.atlassian.jira-core-project-templates:jira-core-simplified-procurement,
com.atlassian.jira-core-project-templates:jira-core-simplified-project-management,
com.atlassian.jira-core-project-templates:jira-core-simplified-recruitment,
com.atlassian.jira-core-project-templates:jira-core-simplified-task-tracking
service_desk - com.atlassian.servicedesk:simplified-it-service-management,
com.atlassian.servicedesk:simplified-general-service-desk-it,
com.atlassian.servicedesk:simplified-general-service-desk-business,
com.atlassian.servicedesk:simplified-external-service-desk,
com.atlassian.servicedesk:simplified-hr-service-desk,
com.atlassian.servicedesk:simplified-facilities-service-desk,
com.atlassian.servicedesk:simplified-legal-service-desk,
com.atlassian.servicedesk:simplified-analytics-service-desk,
com.atlassian.servicedesk:simplified-marketing-service-desk,
com.atlassian.servicedesk:simplified-design-service-desk,
com.atlassian.servicedesk:simplified-sales-service-desk,
com.atlassian.servicedesk:simplified-blank-project-business,
com.atlassian.servicedesk:simplified-blank-project-it,
com.atlassian.servicedesk:simplified-finance-service-desk,
com.atlassian.servicedesk:next-gen-it-service-desk,
com.atlassian.servicedesk:next-gen-hr-service-desk,
com.atlassian.servicedesk:next-gen-legal-service-desk,
com.atlassian.servicedesk:next-gen-marketing-service-desk,
com.atlassian.servicedesk:next-gen-facilities-service-desk,
com.atlassian.servicedesk:next-gen-general-it-service-desk,
com.atlassian.servicedesk:next-gen-general-business-service-desk,
com.atlassian.servicedesk:next-gen-analytics-service-desk,
com.atlassian.servicedesk:next-gen-finance-service-desk,
com.atlassian.servicedesk:next-gen-design-service-desk,
com.atlassian.servicedesk:next-gen-sales-service-desk
software - com.pyxis.greenhopper.jira:gh-simplified-agility-kanban,
com.pyxis.greenhopper.jira:gh-simplified-agility-scrum,
com.pyxis.greenhopper.jira:gh-simplified-basic,
com.pyxis.greenhopper.jira:gh-simplified-kanban-classic,
com.pyxis.greenhopper.jira:gh-simplified-scrum-classic
The project types are available according to the installed Jira features as follows:
- Jira Core, the default, enables *business* projects.
- Jira Service Management enables *service_desk* projects.
- Jira Software enables *software* projects.
To determine which features are installed, go to Jira settings > Apps > Manage apps and review the System Apps list.
To add Jira Software or Jira Service Management into a JIRA instance, use Jira settings > Apps > Finding new apps.
You cannot change PROJECT_TYPE nor PROJECT_TEMPLATE_KEY after the project is created.
*/
import {
to = atlcloudjira_project.SampleCompanyManagedProjectResource
id = 10067
}
# __generated__ by Terraform
# Please review these resources and move them into your main configuration files.
# __generated__ by Terraform from "10067"
resource "atlcloudjira_project" "SampleCompanyManagedProjectResource" {
// Minimum required attributes
key = "SAMPLET1"
name = "Sample project 1"
assignee_type = "PROJECT_LEAD" // Valid values: PROJECT_LEAD, UNASSIGNED
project_type_key = "software" // Valid values: software, service_desk, business
// Optional attributes
avatar_id = 10417
category_id = 10000
description = "Sample description"
field_configuration_scheme = null // When set to null, System Default Field Configuration Scheme is assigned.
lead_account_id = "80dacb68-6f79-46c6-b22e-296669e36568"
url = "https://sample.atlassian.net/jira/projects"
excluded_roles = null // Helper attribute. Can be null. Allow to exclude roles and manage only remaining project roles.
included_roles = [10002] // Helper attribute. Can be null. Allow to include and manage only selected project roles.
project_roles = {
10002 = {
groups = null
users = ["80dacb68-6f79-46c6-b22e-296669e36568", "5fde5ea73b5e47013845900a"]
}
}
// Share configuration schemes cannot be set during cration with project_template_key. Create and reimport resource if needed.
issue_security_scheme = 10000 // Cannot be set during creation when project_template_key is set
issue_type_scheme = 10233 // Cannot be set during creation when project_template_key is set
issue_type_screen_scheme = 10000 // Cannot be set during creation when project_template_key is set
notification_scheme = 10001 // Cannot be set during creation when project_template_key is set
permission_scheme = 10001 // Cannot be set during creation when project_template_key is set
workflow_scheme = 10022 // Cannot be set during creation when project_template_key is set
project_template_key = null // Cannot import this attribute. Can be set only during creation and can't be changed. See list above.
}