Internal
Create a new instance of the service.
Archives a plan.
Permissions required: Administer Jira global permission.
The ID of the plan.
Returned if the request is successful.
Creates a plan.
Permissions required: Administer Jira global permission.
Optional
useWhether to accept group IDs instead of group names. Group names are deprecated.
Returned if the request is successful.
Duplicates a plan.
Permissions required: Administer Jira global permission.
The ID of the plan.
Returned if the request is successful.
Returns a plan.
Permissions required: Administer Jira global permission.
The ID of the plan.
Optional
useWhether to return group IDs instead of group names. Group names are deprecated.
Returned if the request is successful.
example:
{
"crossProjectReleases": [
{
"name": "x-plr",
"releaseIds": [
345
]
}
],
"customFields": [
{
"customFieldId": 34,
"filter": false
},
{
"customFieldId": 39,
"filter": true
}
],
"exclusionRules": {
"issueIds": [
1,
2
],
"issueTypeIds": [
13,
23
],
"numberOfDaysToShowCompletedIssues": 50,
"releaseIds": [
14,
24
],
"workStatusCategoryIds": [
12,
22
],
"workStatusIds": [
11,
21
]
},
"id": 23,
"issueSources": [
{
"type": "Project",
"value": 12
},
{
"type": "Filter",
"value": 10293
}
],
"lastSaved": "2024-10-03T10:15:30Z",
"leadAccountId": "628f5e86d5ec1f006ne7363x2s",
"name": "Onset TBJ Plan",
"permissions": [
{
"holder": {
"type": "AccountId",
"value": "04jekw86d5jjje006ne7363x2s"
},
"type": "Edit"
}
],
"scheduling": {
"dependencies": "Concurrent",
"endDate": {
"dateCustomFieldId": 1098,
"type": "DateCustomField"
},
"estimation": "Hours",
"inferredDates": "ReleaseDates",
"startDate": {
"type": "TargetStartDate"
}
},
"status": "Active"
}
Returns a paginated list of plans.
Permissions required: Administer Jira global permission.
Optional
cursor?: stringThe cursor to start from. If not provided, the first page will be returned.
Optional
includeWhether to include archived plans in the results.
Optional
includeWhether to include trashed plans in the results.
Optional
maxThe maximum number of plans to return per page. The maximum value is 50. The default value is 50.
Returned if the request is successful.
example:
{
"cursor": "",
"isLast": true,
"maxResults": 2,
"nextPageCursor": "2",
"total": 10,
"values": [
{
"id": "100",
"issueSources": [
{
"type": "Project",
"value": 10000
}
],
"name": "Plan 1",
"status": "Active"
},
{
"id": "200",
"issueSources": [
{
"type": "Board",
"value": 20000
}
],
"name": "Plan 2",
"status": "Trashed"
}
]
}
Moves a plan to trash.
Permissions required: Administer Jira global permission.
The ID of the plan.
Returned if the request is successful.
Updates any of the following details of a plan using JSON Patch.
name
leadAccountId
scheduling
estimation with StoryPoints, Days or Hours as possible values
startDate
endDate
inferredDates with None, SprintDates or ReleaseDates as possible values
dependencies with Sequential or Concurrent as possible values
issueSources
exclusionRules
crossProjectReleases
customFields
permissions
type with View or Edit as possible values
holder
Permissions required: Administer Jira global permission.
Note that "add" operations do not respect array indexes in target locations. Call the "Get plan" endpoint to find out the order of array elements.
The ID of the plan.
Optional
useWhether to accept group IDs instead of group names. Group names are deprecated.
Returned if the request is successful.
Protected
Static
initialize
This resource represents plans. Use it to get, create, duplicate, update, trash and archive plans.
See
https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-plans