GET

Get teams in plan paginatedExperimental

Returns a paginated list of plan-only and Atlassian teams in a plan.

Permissions required: Administer Jira global permission.

Data Security Policy: Exempt from app access rules
Scopes
read:jira-work

Connect app scope requiredADMIN

Request

Path parameters

planId

integer

Required

Query parameters

cursor

string

maxResults

integer

Responses

Returned if the request is successful.

application/json

PageWithCursorGetTeamResponseForPage
GET/rest/api/3/plans/plan/{planId}/team
1 2 3 4 5 6 7 8 9 10 11 12 // This sample uses Atlassian Forge // https://developer.atlassian.com/platform/forge/ import api, { route } from "@forge/api"; const response = await api.asUser().requestJira(route`/rest/api/3/plans/plan/{planId}/team`, { headers: { 'Accept': 'application/json' } }); console.log(`Response: ${response.status} ${response.statusText}`); console.log(await response.json());
200Response
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 { "cursor": "", "isLast": true, "maxResults": 2, "nextPageCursor": "2", "total": 10, "values": [ { "id": "1", "name": "Team 1", "type": "PlanOnly" }, { "id": "2", "type": "Atlassian" } ] }
POST

Add Atlassian team to planExperimental

Adds an existing Atlassian team to a plan and configures their plannning settings.

Permissions required: Administer Jira global permission.

Data Security Policy: Exempt from app access rules
Scopes
write:jira-work

Connect app scope requiredADMIN

Request

Path parameters

planId

integer

Required

Request bodyapplication/json

capacity

number

id

string

Required
issueSourceId

integer

planningStyle

string

Required
sprintLength

integer

Responses

Returned if the request is successful.

application/json

any

POST/rest/api/3/plans/plan/{planId}/team/atlassian
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 // This sample uses Atlassian Forge // https://developer.atlassian.com/platform/forge/ import api, { route } from "@forge/api"; var bodyData = `{ "capacity": 200, "id": "AtlassianTeamId", "issueSourceId": 0, "planningStyle": "Scrum", "sprintLength": 2 }`; const response = await api.asUser().requestJira(route`/rest/api/3/plans/plan/{planId}/team/atlassian`, { method: 'POST', headers: { 'Accept': 'application/json', 'Content-Type': 'application/json' }, body: bodyData }); console.log(`Response: ${response.status} ${response.statusText}`); console.log(await response.json());
GET

Get Atlassian team in planExperimental

Returns planning settings for an Atlassian team in a plan.

Permissions required: Administer Jira global permission.

Data Security Policy: Exempt from app access rules
Scopes
read:jira-work

Connect app scope requiredADMIN

Request

Path parameters

planId

integer

Required
atlassianTeamId

string

Required

Responses

Returned if the request is successful.

application/json

GetAtlassianTeamResponse
GET/rest/api/3/plans/plan/{planId}/team/atlassian/{atlassianTeamId}
1 2 3 4 5 6 7 8 9 10 11 12 // This sample uses Atlassian Forge // https://developer.atlassian.com/platform/forge/ import api, { route } from "@forge/api"; const response = await api.asUser().requestJira(route`/rest/api/3/plans/plan/{planId}/team/atlassian/{atlassianTeamId}`, { headers: { 'Accept': 'application/json' } }); console.log(`Response: ${response.status} ${response.statusText}`); console.log(await response.json());
200Response
1 2 3 4 5 6 7 { "capacity": 220, "id": "98WA-2JBO-12N3-2298", "issueSourceId": 1, "planningStyle": "Scrum", "sprintLength": 2 }
PUT

Update Atlassian team in planExperimental

Updates any of the following planning settings of an Atlassian team in a plan using JSON Patch.

  • planningStyle
  • issueSourceId
  • sprintLength
  • capacity

Permissions required: Administer Jira global permission.

Note that "add" operations do not respect array indexes in target locations. Call the "Get Atlassian team in plan" endpoint to find out the order of array elements.

Data Security Policy: Exempt from app access rules
Scopes
write:jira-work

Connect app scope requiredADMIN

Request

Path parameters

planId

integer

Required
atlassianTeamId

string

Required

Request bodyapplication/json-patch+json

object

Responses

Returned if the request is successful.

application/json

any

PUT/rest/api/3/plans/plan/{planId}/team/atlassian/{atlassianTeamId}
1 2 3 4 5 6 7 8 9 10 11 12 13 // This sample uses Atlassian Forge // https://developer.atlassian.com/platform/forge/ import api, { route } from "@forge/api"; const response = await api.asUser().requestJira(route`/rest/api/3/plans/plan/{planId}/team/atlassian/{atlassianTeamId}`, { method: 'PUT', headers: { 'Accept': 'application/json' } }); console.log(`Response: ${response.status} ${response.statusText}`); console.log(await response.json());
DEL

Remove Atlassian team from planExperimental

Removes an Atlassian team from a plan and deletes their planning settings.

Permissions required: Administer Jira global permission.

Data Security Policy: Exempt from app access rules
Scopes
write:jira-work

Connect app scope requiredADMIN

Request

Path parameters

planId

integer

Required
atlassianTeamId

string

Required

Responses

Returned if the request is successful.

application/json

any

DEL/rest/api/3/plans/plan/{planId}/team/atlassian/{atlassianTeamId}
1 2 3 4 5 6 7 8 9 10 11 12 13 // This sample uses Atlassian Forge // https://developer.atlassian.com/platform/forge/ import api, { route } from "@forge/api"; const response = await api.asUser().requestJira(route`/rest/api/3/plans/plan/{planId}/team/atlassian/{atlassianTeamId}`, { method: 'DELETE', headers: { 'Accept': 'application/json' } }); console.log(`Response: ${response.status} ${response.statusText}`); console.log(await response.json());
POST

Create plan-only teamExperimental

Creates a plan-only team and configures their planning settings.

Permissions required: Administer Jira global permission.

Data Security Policy: Exempt from app access rules
Scopes
write:jira-work

Connect app scope requiredADMIN

Request

Path parameters

planId

integer

Required

Request bodyapplication/json

capacity

number

issueSourceId

integer

memberAccountIds

array<string>

name

string

Required
planningStyle

string

Required
sprintLength

integer

Responses

Returned if the request is successful.

application/json

integer

POST/rest/api/3/plans/plan/{planId}/team/planonly
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 // This sample uses Atlassian Forge // https://developer.atlassian.com/platform/forge/ import api, { route } from "@forge/api"; var bodyData = `{ "capacity": 200, "issueSourceId": 0, "memberAccountIds": [ "member1AccountId", "member2AccountId" ], "name": "Team1", "planningStyle": "Scrum", "sprintLength": 2 }`; const response = await api.asUser().requestJira(route`/rest/api/3/plans/plan/{planId}/team/planonly`, { method: 'POST', headers: { 'Accept': 'application/json', 'Content-Type': 'application/json' }, body: bodyData }); console.log(`Response: ${response.status} ${response.statusText}`); console.log(await response.json());
GET

Get plan-only teamExperimental

Returns planning settings for a plan-only team.

Permissions required: Administer Jira global permission.

Data Security Policy: Exempt from app access rules
Scopes
read:jira-work

Connect app scope requiredADMIN

Request

Path parameters

planId

integer

Required
planOnlyTeamId

integer

Required

Responses

Returned if the request is successful.

application/json

GetPlanOnlyTeamResponse
GET/rest/api/3/plans/plan/{planId}/team/planonly/{planOnlyTeamId}
1 2 3 4 5 6 7 8 9 10 11 12 // This sample uses Atlassian Forge // https://developer.atlassian.com/platform/forge/ import api, { route } from "@forge/api"; const response = await api.asUser().requestJira(route`/rest/api/3/plans/plan/{planId}/team/planonly/{planOnlyTeamId}`, { headers: { 'Accept': 'application/json' } }); console.log(`Response: ${response.status} ${response.statusText}`); console.log(await response.json());
200Response
1 2 3 4 5 6 7 8 9 10 11 12 { "capacity": 30, "id": 123, "issueSourceId": 1, "memberAccountIds": [ "mek2-3jno-01n3", "kdsn-2nk3-2nn1" ], "name": "Team1", "planningStyle": "Scrum", "sprintLength": 2 }
PUT

Update plan-only teamExperimental

Updates any of the following planning settings of a plan-only team using JSON Patch.

  • name
  • planningStyle
  • issueSourceId
  • sprintLength
  • capacity
  • memberAccountIds

Permissions required: Administer Jira global permission.

Note that "add" operations do not respect array indexes in target locations. Call the "Get plan-only team" endpoint to find out the order of array elements.

Data Security Policy: Exempt from app access rules
Scopes
write:jira-work

Connect app scope requiredADMIN

Request

Path parameters

planId

integer

Required
planOnlyTeamId

integer

Required

Request bodyapplication/json-patch+json

object

Responses

Returned if the request is successful.

application/json

any

PUT/rest/api/3/plans/plan/{planId}/team/planonly/{planOnlyTeamId}
1 2 3 4 5 6 7 8 9 10 11 12 13 // This sample uses Atlassian Forge // https://developer.atlassian.com/platform/forge/ import api, { route } from "@forge/api"; const response = await api.asUser().requestJira(route`/rest/api/3/plans/plan/{planId}/team/planonly/{planOnlyTeamId}`, { method: 'PUT', headers: { 'Accept': 'application/json' } }); console.log(`Response: ${response.status} ${response.statusText}`); console.log(await response.json());
DEL

Delete plan-only teamExperimental

Deletes a plan-only team and their planning settings.

Permissions required: Administer Jira global permission.

Data Security Policy: Exempt from app access rules
Scopes
write:jira-work

Connect app scope requiredADMIN

Request

Path parameters

planId

integer

Required
planOnlyTeamId

integer

Required

Responses

Returned if the request is successful.

application/json

any

DEL/rest/api/3/plans/plan/{planId}/team/planonly/{planOnlyTeamId}
1 2 3 4 5 6 7 8 9 10 11 12 13 // This sample uses Atlassian Forge // https://developer.atlassian.com/platform/forge/ import api, { route } from "@forge/api"; const response = await api.asUser().requestJira(route`/rest/api/3/plans/plan/{planId}/team/planonly/{planOnlyTeamId}`, { method: 'DELETE', headers: { 'Accept': 'application/json' } }); console.log(`Response: ${response.status} ${response.statusText}`); console.log(await response.json());

Rate this page: