---
title: "Get teams in plan paginated"
method: GET
path: "/rest/api/3/plans/plan/{planId}/team"
tags: ["Teams in plan"]
---

# Get teams in plan paginated

`GET /rest/api/3/plans/plan/{planId}/team`

## Request

- Base URL: `https://your-domain.atlassian.net`
- URL: `https://your-domain.atlassian.net/rest/api/3/plans/plan/{planId}/team`
- Auth: one of:
  - HTTP basic
  - OAuth 2
    - Authorization code: `https://auth.atlassian.com/authorize`
    - Token URL: `https://auth.atlassian.com/oauth/token` scopes: `read:jira-work`

Returns a [paginated](#pagination) list of plan-only and Atlassian teams in a plan.

**[Permissions](#permissions) required:** *Administer Jira* [global permission](https://confluence.atlassian.com/x/x4dKLg).

## Path parameters

- `planId` integer, required

## Query parameters

- `cursor` string
- `maxResults` integer

## Response `200`

Returned if the request is successful.

- PageWithCursorGetTeamResponseForPage
  - `cursor` string
  - `last` boolean
  - `nextPageCursor` string
  - `size` integer
  - `total` integer
  - `values` GetTeamResponseForPage[]
    - `id` string, required: The team ID.
    - `name` string: The team name. This is returned if the type is "PlanOnly".
    - `type` 'PlanOnly' | 'Atlassian', required: The team type. This is "PlanOnly" or "Atlassian".

## Other responses

- `401`: Returned if the user is not logged in.
- `403`: Returned if the site has no premium edition of Jira or if the user does not have the Administer Jira global permission.
- `404`: Returned if the plan is not found.

## Changes

- **2025-02-20** `25c5ce462677`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/atlassian/apis/the-jira-cloud-platform-rest-api-3/changes/rest/api/3/plans/plan/:planId/team/get.md)

---

[API](https://skmtc.dev/atlassian/apis/the-jira-cloud-platform-rest-api-3.md) - [All operations](https://skmtc.dev/atlassian/apis/the-jira-cloud-platform-rest-api-3/llms.txt) - [OpenAPI document](https://skmtc.dev/atlassian/apis/the-jira-cloud-platform-rest-api-3/revisions/f22db3da5feb?raw)
