provider Teams in plan GET /rest/api/3/plans/plan/{planId}/team
@utdk/jira /rest/api/3/plans/plan/{planId}/team
Get teams in plan paginated
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).
planId path required
The ID of the plan.
integer
cursor query
The cursor to start from. If not provided, the first page will be returned.
string
maxResults query
The maximum number of plan teams to return per page. The maximum value is 50. The default value is 50.
integer

Try it

Authentication
Configure credentials for The Jira Cloud platform REST API
Gateway
The gateway proxies requests and injects credentials server-side. Configure credentials above, then enter your gateway URL.

Saved automatically to browser storage.

getteams
GET/rest/api/3/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).

Parameters

required

The ID of the plan.

The cursor to start from. If not provided, the first page will be returned.

The maximum number of plan teams to return per page. The maximum value is 50. The default value is 50.

Enter a gateway URL above to enable sending.

Code snippet
Updates live as you fill in the form above.

TypeScript

import jira from '@utdk/jira';

await jira.getteams({
  "maxResults": 50
})