atlcloudjira_permission_scheme (Resource)

Example Usage

import {
  to = atlcloudjira_permission_scheme.SamplePermissionScheme
  id = 10004
}

# __generated__ by Terraform
# Please review these resources and move them into your main configuration files.

# __generated__ by Terraform from "10004"
resource "atlcloudjira_permission_scheme" "SamplePermissionScheme" {
  allow_incomplete = false // when set to false, all permissions must be included.
  name             = "Sample Permission Scheme"
  description      = "Sample description"
  permissions = {
    ADD_COMMENTS = [{
      parameter = ""
      type      = "applicationRole"
      }, {
      parameter = "10003"
      type      = "projectRole"
    }]
    ADMINISTER_PROJECTS = [{
      parameter = "10002"
      type      = "projectRole"
      }, {
      parameter = "10003"
      type      = "projectRole"
    }]
    ASSIGNABLE_USER = [{
      parameter = ""
      type      = "applicationRole"
      }, {
      parameter = "10003"
      type      = "projectRole"
    }]
    ASSIGN_ISSUES = [{
      parameter = "10003"
      type      = "projectRole"
      }, {
      parameter = "10006"
      type      = "projectRole"
      }, {
      parameter = "80dacb68-6f79-46c6-b22e-296669e36568"
      type      = "user"
      }, {
      parameter = "mySpecialGroup"
      type      = "group"
    }]
    BROWSE_PROJECTS = [{
      parameter = ""
      type      = "anyone"
      }, {
      parameter = ""
      type      = "applicationRole"
      }, {
      parameter = ""
      type      = "assignee"
      }, {
      parameter = ""
      type      = "projectLead"
      }, {
      parameter = ""
      type      = "reporter"
      }, {
      parameter = ""
      type      = "sd.customer.portal.only"
      }, {
      parameter = "10003"
      type      = "projectRole"
      }, {
      parameter = "10006"
      type      = "projectRole"
      }, {
      parameter = "80dacb68-6f79-46c6-b22e-296669e36568"
      type      = "user"
      }, {
      parameter = "customfield_10046"
      type      = "groupCustomField"
      }, {
      parameter = "customfield_10047"
      type      = "userCustomField"
      }, {
      parameter = "jira-software"
      type      = "applicationRole"
      }, {
      parameter = "mySpecialGroup"
      type      = "group"
    }]
    CLOSE_ISSUES = [{
      parameter = ""
      type      = "applicationRole"
      }, {
      parameter = "10003"
      type      = "projectRole"
    }]
    CREATE_ATTACHMENTS = [{
      parameter = ""
      type      = "applicationRole"
      }, {
      parameter = "10003"
      type      = "projectRole"
    }]
    CREATE_ISSUES = [{
      parameter = ""
      type      = "applicationRole"
      }, {
      parameter = "10003"
      type      = "projectRole"
    }]
    DELETE_ALL_ATTACHMENTS = [{
      parameter = "10002"
      type      = "projectRole"
      }, {
      parameter = "10003"
      type      = "projectRole"
    }]
    DELETE_ALL_COMMENTS = [{
      parameter = "10002"
      type      = "projectRole"
      }, {
      parameter = "10003"
      type      = "projectRole"
    }]
    DELETE_ALL_WORKLOGS = [{
      parameter = "10002"
      type      = "projectRole"
      }, {
      parameter = "10003"
      type      = "projectRole"
    }]
    DELETE_ISSUES = [{
      parameter = "10002"
      type      = "projectRole"
      }, {
      parameter = "10003"
      type      = "projectRole"
      }, {
      parameter = "10004"
      type      = "projectRole"
    }]
    DELETE_OWN_ATTACHMENTS = [{
      parameter = ""
      type      = "applicationRole"
      }, {
      parameter = "10003"
      type      = "projectRole"
    }]
    DELETE_OWN_COMMENTS = [{
      parameter = ""
      type      = "applicationRole"
      }, {
      parameter = "10003"
      type      = "projectRole"
    }]
    DELETE_OWN_WORKLOGS = [{
      parameter = ""
      type      = "applicationRole"
      }, {
      parameter = "10003"
      type      = "projectRole"
    }]
    EDIT_ALL_COMMENTS = [{
      parameter = "10002"
      type      = "projectRole"
      }, {
      parameter = "10003"
      type      = "projectRole"
    }]
    EDIT_ALL_WORKLOGS = [{
      parameter = "10002"
      type      = "projectRole"
      }, {
      parameter = "10003"
      type      = "projectRole"
    }]
    EDIT_ISSUES = [{
      parameter = ""
      type      = "applicationRole"
      }, {
      parameter = "10003"
      type      = "projectRole"
    }]
    EDIT_OWN_COMMENTS = [{
      parameter = ""
      type      = "applicationRole"
      }, {
      parameter = "10003"
      type      = "projectRole"
    }]
    EDIT_OWN_WORKLOGS = [{
      parameter = ""
      type      = "applicationRole"
      }, {
      parameter = "10003"
      type      = "projectRole"
    }]
    LINK_ISSUES = [{
      parameter = ""
      type      = "applicationRole"
      }, {
      parameter = "10003"
      type      = "projectRole"
    }]
    MANAGE_SPRINTS_PERMISSION = [{
      parameter = ""
      type      = "applicationRole"
      }, {
      parameter = "10003"
      type      = "projectRole"
    }]
    MANAGE_WATCHERS = [{
      parameter = "10002"
      type      = "projectRole"
      }, {
      parameter = "10003"
      type      = "projectRole"
    }]
    MODIFY_REPORTER = [{
      parameter = "10002"
      type      = "projectRole"
      }, {
      parameter = "10003"
      type      = "projectRole"
    }]
    MOVE_ISSUES = [{
      parameter = ""
      type      = "applicationRole"
      }, {
      parameter = "10003"
      type      = "projectRole"
    }]
    RESOLVE_ISSUES = [{
      parameter = ""
      type      = "applicationRole"
      }, {
      parameter = "10003"
      type      = "projectRole"
    }]
    SCHEDULE_ISSUES = [{
      parameter = ""
      type      = "applicationRole"
      }, {
      parameter = "10003"
      type      = "projectRole"
    }]
    SERVICEDESK_AGENT = [{
      parameter = "10003"
      type      = "projectRole"
    }]
    SET_ISSUE_SECURITY = [{
      parameter = "10003"
      type      = "projectRole"
    }]
    TRANSITION_ISSUES = [{
      parameter = ""
      type      = "applicationRole"
      }, {
      parameter = "10003"
      type      = "projectRole"
    }]
    VIEW_AGGREGATED_DATA = [{
      parameter = ""
      type      = "applicationRole"
      }, {
      parameter = "10003"
      type      = "projectRole"
    }]
    VIEW_DEV_TOOLS = [{
      parameter = ""
      type      = "applicationRole"
      }, {
      parameter = "10003"
      type      = "projectRole"
    }]
    VIEW_READONLY_WORKFLOW = [{
      parameter = ""
      type      = "applicationRole"
      }, {
      parameter = "10003"
      type      = "projectRole"
    }]
    VIEW_VOTERS_AND_WATCHERS = [{
      parameter = ""
      type      = "applicationRole"
      }, {
      parameter = "10003"
      type      = "projectRole"
    }]
    WORK_ON_ISSUES = [{
      parameter = ""
      type      = "applicationRole"
      }, {
      parameter = "10003"
      type      = "projectRole"
    }]
  }
}

Schema

Required

  • name (String) The unique name for the component in the project. Required when creating a component. Optional when updating a component.

Optional

  • allow_incomplete (Boolean) Helper attribute. When set to true, partial configuration can be stored and managed by Terraform. Is false, entire configuration must be stored in Terraform script.

  • description (String) The description for the component. Optional when creating or updating a component.

  • permissions (Map of Set of Map of String) Set of permissions and holders.

Read-Only

  • id (Number) The ID project component.

  • last_updated (String) Timestamp of the last Terraform update of the project component.