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

# Get teams in plan paginated

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

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.

---

[API](https://skmtc.net/atlassian/apis/the-jira-cloud-platform-rest-api.md) · [All operations](https://skmtc.net/atlassian/apis/the-jira-cloud-platform-rest-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/atlassian/the-jira-cloud-platform-rest-api/versions/a26541c2f8bd/schema)
