Skip to content

Atlassian: Groups schemas

10 Atlassian schemas with complete fields and constraints.

← Groups operations · All schemas

Add user to group — request body — body

FieldTypePresenceDescription and constraints
$objectRootAdditional keys: allowed
accountIdstringOptionalThe account ID of the user, which uniquely identifies the user across all Atlassian products. For example, *5b10ac8d82e05b22cc7d4ef5*.
Maximum length: 128
namestringOptionalThis property is no longer available. See the [deprecation notice](https://developer.atlassian.com/cloud/jira/platform/deprecation-notice-user-privacy-api-migration-guide/) for details.

Bulk get groups — response body

FieldTypePresenceDescription and constraints
$objectRootA page of items.
isLastJSONOptional
isLast (anyOf 1)booleanAlternativeWhether this is the last page.
Read only: true
isLast (anyOf 2)nullAlternative
maxResultsJSONOptional
maxResults (anyOf 1)JSONAlternative
maxResults (anyOf 1) (anyOf 1)integerAlternativeThe maximum number of items that could be returned.
Format: int32
Read only: true
maxResults (anyOf 1) (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$
maxResults (anyOf 2)nullAlternative
nextPageJSONOptional
nextPage (anyOf 1)stringAlternativeIf there is another page of results, the URL of the next page.
Format: uri
Read only: true
nextPage (anyOf 2)nullAlternative
selfJSONOptional
self (anyOf 1)stringAlternativeThe URL of the page.
Format: uri
Read only: true
self (anyOf 2)nullAlternative
startAtJSONOptional
startAt (anyOf 1)JSONAlternative
startAt (anyOf 1) (anyOf 1)integerAlternativeThe index of the first item returned.
Format: int64
Read only: true
startAt (anyOf 1) (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$
startAt (anyOf 2)nullAlternative
totalJSONOptional
total (anyOf 1)JSONAlternative
total (anyOf 1) (anyOf 1)integerAlternativeThe number of items returned.
Format: int64
Read only: true
total (anyOf 1) (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$
total (anyOf 2)nullAlternative
valuesJSONOptional
values (anyOf 1)arrayAlternativeThe list of items.
Read only: true
values (anyOf 1)[]ModelEach itemExpand Bulk get groups — response body — values The list of items item
values (anyOf 2)nullAlternative

Referenced models: Bulk get groups — response body — values The list of items item

Bulk get groups — response body — values The list of items item

FieldTypePresenceDescription and constraints
$objectRootDetails about a group.
groupIdJSONOptional
groupId (anyOf 1)JSONAlternative
groupId (anyOf 1) (anyOf 1)stringAlternativeThe ID of the group, which uniquely identifies the group across all Atlassian products. For example, *952d12c3-5b5b-4d04-bb32-44d383afc4b2*.
groupId (anyOf 1) (anyOf 2)nullAlternative
groupId (anyOf 2)nullAlternative
nameJSONOptional
name (anyOf 1)stringAlternativeThe name of the group.
name (anyOf 2)nullAlternative

Create group — request body — body

FieldTypePresenceDescription and constraints
$objectRootAdditional keys: allowed
namestringRequired within parentThe name of the group.

Find groups — response body

FieldTypePresenceDescription and constraints
$objectRootThe list of groups found in a search, including header text (Showing X of Y matching groups) and total of matched groups.
groupsJSONOptional
groups (anyOf 1)arrayAlternative
groups (anyOf 1)[]ModelEach itemExpand Find groups — response body — groups array item
groups (anyOf 2)nullAlternative
headerJSONOptional
header (anyOf 1)stringAlternativeHeader text indicating the number of groups in the response and the total number of groups found in the search.
header (anyOf 2)nullAlternative
totalJSONOptional
total (anyOf 1)JSONAlternative
total (anyOf 1) (anyOf 1)integerAlternativeThe total number of groups found in the search.
Format: int32
total (anyOf 1) (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$
total (anyOf 2)nullAlternative

Referenced models: Find groups — response body — groups array item

Find groups — response body — groups array item

FieldTypePresenceDescription and constraints
$objectRootA group found in a search.
avatarUrlJSONOptional
avatarUrl (anyOf 1)stringAlternativeAvatar url for the group/team if present.
avatarUrl (anyOf 2)nullAlternative
groupIdJSONOptional
groupId (anyOf 1)stringAlternativeThe ID of the group, which uniquely identifies the group across all Atlassian products. For example, *952d12c3-5b5b-4d04-bb32-44d383afc4b2*.
groupId (anyOf 2)nullAlternative
htmlJSONOptional
html (anyOf 1)stringAlternativeThe group name with the matched query string highlighted with the HTML bold tag.
html (anyOf 2)nullAlternative
labelsJSONOptional
labels (anyOf 1)arrayAlternative
labels (anyOf 1)[]ModelEach itemExpand Find groups — response body — groups array item labels array item
labels (anyOf 2)nullAlternative
managedByJSONOptional
managedBy (anyOf 1)stringAlternativeDescribes who/how the team is managed. The possible values are
\* external - when team is synced from an external directory like SCIM or HRIS, and team members cannot be modified.
\* admins - when a team is managed by an admin (team members can only be modified by admins).
\* team-members - managed by existing team members, new members need to be invited to join.
\* open - anyone can join or modify this team.
Known values: EXTERNAL, ADMINS, TEAM_MEMBERS, OPEN
managedBy (anyOf 2)nullAlternative
nameJSONOptional
name (anyOf 1)stringAlternativeThe name of the group. The name of a group is mutable, to reliably identify a group use ``groupId`.`
name (anyOf 2)nullAlternative
usageTypeJSONOptional
usageType (anyOf 1)stringAlternativeDescribes the type of group. The possible values are
\* team-collaboration - A platform team managed in people directory.
\* userbase-group - a group of users created in adminhub.
\* admin-oversight - currently unused.
Known values: USERBASE_GROUP, TEAM_COLLABORATION, ADMIN_OVERSIGHT
usageType (anyOf 2)nullAlternative

Referenced models: Find groups — response body — groups array item labels array item

Find groups — response body — groups array item labels array item

FieldTypePresenceDescription and constraints
$objectRootA group label.
textJSONOptional
text (anyOf 1)stringAlternativeThe group label name.
text (anyOf 2)nullAlternative
titleJSONOptional
title (anyOf 1)stringAlternativeThe title of the group label.
title (anyOf 2)nullAlternative
typeJSONOptional
type (anyOf 1)stringAlternativeThe type of the group label.
Known values: ADMIN, SINGLE, MULTIPLE
type (anyOf 2)nullAlternative

Get group — response body

FieldTypePresenceDescription and constraints
$objectRoot
expandJSONOptional
expand (anyOf 1)stringAlternativeExpand options that include additional group details in the response.
Read only: true
expand (anyOf 2)nullAlternative
groupIdJSONOptional
groupId (anyOf 1)JSONAlternative
groupId (anyOf 1) (anyOf 1)stringAlternativeThe ID of the group, which uniquely identifies the group across all Atlassian products. For example, *952d12c3-5b5b-4d04-bb32-44d383afc4b2*.
groupId (anyOf 1) (anyOf 2)nullAlternative
groupId (anyOf 2)nullAlternative
nameJSONOptional
name (anyOf 1)stringAlternativeThe name of group.
name (anyOf 2)nullAlternative
selfJSONOptional
self (anyOf 1)stringAlternativeThe URL for these group details.
Format: uri
Read only: true
self (anyOf 2)nullAlternative
usersJSONOptional
users (anyOf 1)ModelAlternativeExpand Get group — response body — users end-index, items, max-results, size, start-index
A paginated list of the users that are members of the group. A maximum of 50 users is returned in the list, to access additional users append `[start-index:end-index]` to the expand request. For example, to access the next 50 users, use`?expand=users[51:100]`.
Read only: true
users (anyOf 2)nullAlternative

Referenced models: Get group — response body — users end-index, items, max-results, size, start-index

Get group — response body — users end-index, items, max-results, size, start-index

FieldTypePresenceDescription and constraints
$objectRootA paged list. To access additional details append `[start-index:end-index]` to the expand request. For example, `?expand=sharedUsers[10:40]` returns a list starting at item 10 and finishing at item 40.
end-indexJSONOptional
end-index (anyOf 1)JSONAlternative
end-index (anyOf 1) (anyOf 1)integerAlternativeThe index of the last item returned on the page.
Format: int32
Read only: true
end-index (anyOf 1) (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$
end-index (anyOf 2)nullAlternative
itemsJSONOptional
items (anyOf 1)arrayAlternativeThe list of items.
Read only: true
items (anyOf 1)[]ModelEach itemExpand Add comment — response body — author account Id, account Type, active, avatar Urls, display Name, email Address, key, name, self, time Zone
items (anyOf 2)nullAlternative
max-resultsJSONOptional
max-results (anyOf 1)JSONAlternative
max-results (anyOf 1) (anyOf 1)integerAlternativeThe maximum number of results that could be on the page.
Format: int32
Read only: true
max-results (anyOf 1) (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$
max-results (anyOf 2)nullAlternative
sizeJSONOptional
size (anyOf 1)JSONAlternative
size (anyOf 1) (anyOf 1)integerAlternativeThe number of items on the page.
Format: int32
Read only: true
size (anyOf 1) (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$
size (anyOf 2)nullAlternative
start-indexJSONOptional
start-index (anyOf 1)JSONAlternative
start-index (anyOf 1) (anyOf 1)integerAlternativeThe index of the first item returned on the page.
Format: int32
Read only: true
start-index (anyOf 1) (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$
start-index (anyOf 2)nullAlternative

Referenced models: Add comment — response body — author account Id, account Type, active, avatar Urls, display Name, email Address, key, name, self, time Zone

Get users from group — response body

FieldTypePresenceDescription and constraints
$objectRootA page of items.
isLastJSONOptional
isLast (anyOf 1)booleanAlternativeWhether this is the last page.
Read only: true
isLast (anyOf 2)nullAlternative
maxResultsJSONOptional
maxResults (anyOf 1)JSONAlternative
maxResults (anyOf 1) (anyOf 1)integerAlternativeThe maximum number of items that could be returned.
Format: int32
Read only: true
maxResults (anyOf 1) (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$
maxResults (anyOf 2)nullAlternative
nextPageJSONOptional
nextPage (anyOf 1)stringAlternativeIf there is another page of results, the URL of the next page.
Format: uri
Read only: true
nextPage (anyOf 2)nullAlternative
selfJSONOptional
self (anyOf 1)stringAlternativeThe URL of the page.
Format: uri
Read only: true
self (anyOf 2)nullAlternative
startAtJSONOptional
startAt (anyOf 1)JSONAlternative
startAt (anyOf 1) (anyOf 1)integerAlternativeThe index of the first item returned.
Format: int64
Read only: true
startAt (anyOf 1) (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$
startAt (anyOf 2)nullAlternative
totalJSONOptional
total (anyOf 1)JSONAlternative
total (anyOf 1) (anyOf 1)integerAlternativeThe number of items returned.
Format: int64
Read only: true
total (anyOf 1) (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$
total (anyOf 2)nullAlternative
valuesJSONOptional
values (anyOf 1)arrayAlternativeThe list of items.
Read only: true
values (anyOf 1)[]ModelEach itemExpand Add comment — response body — author account Id, account Type, active, avatar Urls, display Name, email Address, key, name, self, time Zone
values (anyOf 2)nullAlternative

Referenced models: Add comment — response body — author account Id, account Type, active, avatar Urls, display Name, email Address, key, name, self, time Zone

Report an issue with this page

Necessary

Required for sign-in, security, authorization, and remembering your choices.

Always active

Analytics

Helps us understand which product and documentation features are useful.

Performance diagnostics

Uses performance tracing and privacy-masked session replay to diagnose problems.

You can change these choices at any time from Cookie settings.