Skip to content

Commit a898116

Browse files
Merge pull request #74 from magnetikonline/fix-docs
Fix documentation regarding Team resource and incorrect casing for `team_type` property
2 parents e85d033 + 9d049b3 commit a898116

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

docs/data-sources/team.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ Team data source
3030
- `description` (String) A detailed description of the team's purpose, responsibilities, and scope of operations.
3131
- `display_name` (String) The human-readable name of the team as it appears in the Atlassian interface.
3232
- `member` (Attributes Set) The set of users who are members of this team. Each member has their own role and permissions. (see [below for nested schema](#nestedatt--member))
33-
- `team_type` (String) The type of team (e.g., 'open', 'member_invite', 'external'). Determines team access and invitation policies.
33+
- `team_type` (String) The type of team (e.g., `OPEN`, `MEMBER_INVITE`, `EXTERNAL`). Determines team access and invitation policies.
3434
- `user_permissions` (Attributes) The set of permissions that define what operations users can perform on this team. (see [below for nested schema](#nestedatt--user_permissions))
3535

3636
<a id="nestedatt--member"></a>

docs/resources/team.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ description: |-
2121
- `display_name` (String) The human-readable name of the team as it appears in the Atlassian interface. This should be clear and identifiable.
2222
- `member` (Attributes Set) The set of users who are members of this team. Must contain at least one member. Each member is identified by their Atlassian account ID. (see [below for nested schema](#nestedatt--member))
2323
- `organization_id` (String) The unique identifier of the organization this team belongs to. This determines the team's organizational context.
24-
- `team_type` (String) The type of team that determines access and invitation policies. Valid values are 'open' (anyone can join), 'member_invite' (members can invite others), or 'external' (managed externally).
24+
- `team_type` (String) The type of team that determines access and invitation policies. Valid values are `OPEN` (anyone can join), `MEMBER_INVITE` (members can invite others), or `EXTERNAL` (managed externally).
2525

2626
### Optional
2727

internal/provider/schemaAttributes/team_data_source_attributes.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ var TeamDataSourceAttributes = map[string]schema.Attribute{
3232
},
3333
},
3434
"team_type": schema.StringAttribute{
35-
Description: "The type of team (e.g., 'open', 'member_invite', 'external'). Determines team access and invitation policies.",
35+
Description: "The type of team (e.g., 'OPEN', 'MEMBER_INVITE', 'EXTERNAL'). Determines team access and invitation policies.",
3636
Computed: true,
3737
},
3838
"user_permissions": schema.SingleNestedAttribute{

internal/provider/schemaAttributes/team_resource_attributes.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ var TeamResourceAttributes = map[string]schema.Attribute{
3939
},
4040
},
4141
"team_type": schema.StringAttribute{
42-
Description: "The type of team that determines access and invitation policies. Valid values are 'open' (anyone can join), 'member_invite' (members can invite others), or 'external' (managed externally).",
42+
Description: "The type of team that determines access and invitation policies. Valid values are 'OPEN' (anyone can join), 'MEMBER_INVITE' (members can invite others), or 'EXTERNAL' (managed externally).",
4343
Required: true,
4444
Validators: []validator.String{
4545
stringvalidator.OneOf(string(dto.OPEN), string(dto.MEMBER_INVITE), string(dto.EXTERNAL)),

0 commit comments

Comments
 (0)