Skip to content

Atlassian: Plans schemas

21 Atlassian schemas with complete fields and constraints.

← Plans operations · All schemas

Create plan — request body — body

FieldTypePresenceDescription and constraints
$objectRootAdditional keys: not allowed
crossProjectReleasesarrayOptionalThe cross-project releases to include in the plan.
Unique items: true
crossProjectReleases[]ModelEach itemExpand Create plan — request body — body cross Project Releases item
customFieldsarrayOptionalThe custom fields for the plan.
Unique items: true
customFields[]ModelEach itemExpand Create plan — request body — body custom Fields item
exclusionRulesModelOptionalExpand Create plan — request body — body exclusion Rules
The exclusion rules for the plan.
issueSourcesarrayRequired within parentThe issue sources to include in the plan.
Unique items: true
issueSources[]ModelEach itemExpand Create plan — request body — body issue Sources item
leadAccountIdstringOptionalThe account ID of the plan lead.
namestringRequired within parentThe plan name.
Maximum length: 255
Minimum length: 1
permissionsarrayOptionalThe permissions for the plan.
Unique items: true
permissions[]ModelEach itemExpand Create plan — request body — body permissions item
schedulingModelRequired within parentExpand Create plan — request body — body scheduling
The scheduling settings for the plan.

Referenced models: Create plan — request body — body cross Project Releases item, Create plan — request body — body custom Fields item, Create plan — request body — body exclusion Rules, Create plan — request body — body issue Sources item, Create plan — request body — body permissions item, Create plan — request body — body scheduling

Create plan — request body — body cross Project Releases item

FieldTypePresenceDescription and constraints
$objectRootAdditional keys: not allowed
namestringRequired within parentThe cross-project release name.
releaseIdsarrayOptionalThe IDs of the releases to include in the cross-project release.
Unique items: true
releaseIds[]integerEach itemFormat: int64

Create plan — request body — body custom Fields item

FieldTypePresenceDescription and constraints
$objectRootAdditional keys: not allowed
customFieldIdintegerRequired within parentThe custom field ID.
Format: int64
filterbooleanOptionalAllows filtering issues based on their values for the custom field.

Create plan — request body — body exclusion Rules

FieldTypePresenceDescription and constraints
$objectRootAdditional keys: not allowed
issueIdsarrayOptionalThe IDs of the issues to exclude from the plan.
Unique items: true
issueIds[]integerEach itemFormat: int64
issueTypeIdsarrayOptionalThe IDs of the issue types to exclude from the plan.
Unique items: true
issueTypeIds[]integerEach itemFormat: int64
numberOfDaysToShowCompletedIssuesintegerOptionalIssues completed this number of days ago will be excluded from the plan.
Format: int32
releaseIdsarrayOptionalThe IDs of the releases to exclude from the plan.
Unique items: true
releaseIds[]integerEach itemFormat: int64
workStatusCategoryIdsarrayOptionalThe IDs of the work status categories to exclude from the plan.
Unique items: true
workStatusCategoryIds[]integerEach itemFormat: int64
workStatusIdsarrayOptionalThe IDs of the work statuses to exclude from the plan.
Unique items: true
workStatusIds[]integerEach itemFormat: int64

Create plan — request body — body issue Sources item

FieldTypePresenceDescription and constraints
$objectRootAdditional keys: not allowed
typestringRequired within parentThe issue source type. This must be "Board", "Project" or "Filter".
One of: Board, Project, Filter
valueintegerRequired within parentThe issue source value. This must be a board ID if the type is "Board", a project ID if the type is "Project" or a filter ID if the type is "Filter".
Format: int64

Create plan — request body — body permissions item

FieldTypePresenceDescription and constraints
$objectRootAdditional keys: not allowed
holderModelRequired within parentExpand Create plan — request body — body permissions item holder
The permission holder.
typestringRequired within parentThe permission type. This must be "View" or "Edit".
One of: View, Edit

Referenced models: Create plan — request body — body permissions item holder

Create plan — request body — body permissions item holder

FieldTypePresenceDescription and constraints
$objectRootAdditional keys: not allowed
typestringRequired within parentThe permission holder type. This must be "Group" or "AccountId".
One of: Group, AccountId
valuestringRequired within parentThe permission holder value. This must be a group name if the type is "Group" or an account ID if the type is "AccountId".

Create plan — request body — body scheduling

FieldTypePresenceDescription and constraints
$objectRootAdditional keys: not allowed
dependenciesstringOptionalThe dependencies for the plan. This must be "Sequential" or "Concurrent".
One of: Sequential, Concurrent
endDateModelOptionalExpand Create plan — request body — body scheduling end Date
The end date field for the plan.
estimationstringRequired within parentThe estimation unit for the plan. This must be "StoryPoints", "Days" or "Hours".
One of: StoryPoints, Days, Hours
inferredDatesstringOptionalThe inferred dates for the plan. This must be "None", "SprintDates" or "ReleaseDates".
One of: None, SprintDates, ReleaseDates
startDateModelOptionalExpand Create plan — request body — body scheduling end Date
The start date field for the plan.

Referenced models: Create plan — request body — body scheduling end Date

Create plan — request body — body scheduling end Date

FieldTypePresenceDescription and constraints
$objectRootAdditional keys: not allowed
dateCustomFieldIdintegerOptionalA date custom field ID. This is required if the type is "DateCustomField".
Format: int64
typestringRequired within parentThe date field type. This must be "DueDate", "TargetStartDate", "TargetEndDate" or "DateCustomField".
One of: DueDate, TargetStartDate, TargetEndDate, DateCustomField

Duplicate plan — request body — body

FieldTypePresenceDescription and constraints
$objectRootAdditional keys: not allowed
namestringRequired within parentThe plan name.

Get plan — response body

FieldTypePresenceDescription and constraints
$objectRoot
crossProjectReleasesJSONOptional
crossProjectReleases (anyOf 1)arrayAlternativeThe cross-project releases included in the plan.
crossProjectReleases (anyOf 1)[]ModelEach itemExpand Get plan — response body — cross Project Releases The cross-project releases included in the plan item
crossProjectReleases (anyOf 2)nullAlternative
customFieldsJSONOptional
customFields (anyOf 1)arrayAlternativeThe custom fields for the plan.
customFields (anyOf 1)[]ModelEach itemExpand Get plan — response body — custom Fields The custom fields for the plan item
customFields (anyOf 2)nullAlternative
exclusionRulesJSONOptional
exclusionRules (anyOf 1)ModelAlternativeExpand Get plan — response body — exclusion Rules issue Ids, issue Type Ids, number Of Days To Show Completed Issues, release Ids, work Status Category Ids, work Status Ids
The exclusion rules for the plan.
exclusionRules (anyOf 2)nullAlternative
idJSONOptional
id (anyOf 1)JSONAlternative
id (anyOf 1) (anyOf 1)integerAlternativeThe plan ID.
Format: int64
id (anyOf 1) (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$
id (anyOf 2)nullAlternative
issueSourcesJSONOptional
issueSources (anyOf 1)arrayAlternativeThe issue sources included in the plan.
issueSources (anyOf 1)[]ModelEach itemExpand Get plan — response body — issue Sources The issue sources included in the plan item
issueSources (anyOf 2)nullAlternative
lastSavedJSONOptional
lastSaved (anyOf 1)stringAlternativeThe date when the plan was last saved in UTC.
lastSaved (anyOf 2)nullAlternative
leadAccountIdJSONOptional
leadAccountId (anyOf 1)stringAlternativeThe account ID of the plan lead.
leadAccountId (anyOf 2)nullAlternative
nameJSONOptional
name (anyOf 1)stringAlternativeThe plan name.
name (anyOf 2)nullAlternative
permissionsJSONOptional
permissions (anyOf 1)arrayAlternativeThe permissions for the plan.
permissions (anyOf 1)[]ModelEach itemExpand Get plan — response body — permissions The permissions for the plan item
permissions (anyOf 2)nullAlternative
schedulingJSONOptional
scheduling (anyOf 1)ModelAlternativeExpand Get plan — response body — scheduling dependencies, end Date, estimation, inferred Dates, start Date
The scheduling settings for the plan.
scheduling (anyOf 2)nullAlternative
statusJSONOptional
status (anyOf 1)stringAlternativeThe plan status. This is "Active", "Trashed" or "Archived".
Known values: Active, Trashed, Archived
status (anyOf 2)nullAlternative

Referenced models: Get plan — response body — cross Project Releases The cross-project releases included in the plan item, Get plan — response body — custom Fields The custom fields for the plan item, Get plan — response body — exclusion Rules issue Ids, issue Type Ids, number Of Days To Show Completed Issues, release Ids, work Status Category Ids, work Status Ids, Get plan — response body — issue Sources The issue sources included in the plan item, Get plan — response body — permissions The permissions for the plan item, Get plan — response body — scheduling dependencies, end Date, estimation, inferred Dates, start Date

Get plan — response body — cross Project Releases The cross-project releases included in the plan item

FieldTypePresenceDescription and constraints
$objectRoot
nameJSONOptional
name (anyOf 1)stringAlternativeThe cross-project release name.
name (anyOf 2)nullAlternative
releaseIdsJSONOptional
releaseIds (anyOf 1)arrayAlternativeThe IDs of the releases included in the cross-project release.
Unique items: true
releaseIds (anyOf 1)[]JSONEach item
releaseIds (anyOf 1)[] (anyOf 1)integerAlternativeFormat: int64
releaseIds (anyOf 1)[] (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$
releaseIds (anyOf 2)nullAlternative

Get plan — response body — custom Fields The custom fields for the plan item

FieldTypePresenceDescription and constraints
$objectRoot
customFieldIdJSONOptional
customFieldId (anyOf 1)JSONAlternative
customFieldId (anyOf 1) (anyOf 1)integerAlternativeThe custom field ID.
Format: int64
customFieldId (anyOf 1) (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$
customFieldId (anyOf 2)nullAlternative
filterJSONOptional
filter (anyOf 1)booleanAlternativeAllows filtering issues based on their values for the custom field.
filter (anyOf 2)nullAlternative

Get plan — response body — exclusion Rules issue Ids, issue Type Ids, number Of Days To Show Completed Issues, release Ids, work Status Category Ids, work Status Ids

FieldTypePresenceDescription and constraints
$objectRoot
issueIdsJSONOptional
issueIds (anyOf 1)arrayAlternativeThe IDs of the issues excluded from the plan.
Unique items: true
issueIds (anyOf 1)[]JSONEach item
issueIds (anyOf 1)[] (anyOf 1)integerAlternativeFormat: int64
issueIds (anyOf 1)[] (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$
issueIds (anyOf 2)nullAlternative
issueTypeIdsJSONOptional
issueTypeIds (anyOf 1)arrayAlternativeThe IDs of the issue types excluded from the plan.
Unique items: true
issueTypeIds (anyOf 1)[]JSONEach item
issueTypeIds (anyOf 1)[] (anyOf 1)integerAlternativeFormat: int64
issueTypeIds (anyOf 1)[] (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$
issueTypeIds (anyOf 2)nullAlternative
numberOfDaysToShowCompletedIssuesJSONOptional
numberOfDaysToShowCompletedIssues (anyOf 1)JSONAlternative
numberOfDaysToShowCompletedIssues (anyOf 1) (anyOf 1)integerAlternativeIssues completed this number of days ago are excluded from the plan.
Format: int32
numberOfDaysToShowCompletedIssues (anyOf 1) (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$
numberOfDaysToShowCompletedIssues (anyOf 2)nullAlternative
releaseIdsJSONOptional
releaseIds (anyOf 1)arrayAlternativeThe IDs of the releases excluded from the plan.
Unique items: true
releaseIds (anyOf 1)[]JSONEach item
releaseIds (anyOf 1)[] (anyOf 1)integerAlternativeFormat: int64
releaseIds (anyOf 1)[] (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$
releaseIds (anyOf 2)nullAlternative
workStatusCategoryIdsJSONOptional
workStatusCategoryIds (anyOf 1)arrayAlternativeThe IDs of the work status categories excluded from the plan.
Unique items: true
workStatusCategoryIds (anyOf 1)[]JSONEach item
workStatusCategoryIds (anyOf 1)[] (anyOf 1)integerAlternativeFormat: int64
workStatusCategoryIds (anyOf 1)[] (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$
workStatusCategoryIds (anyOf 2)nullAlternative
workStatusIdsJSONOptional
workStatusIds (anyOf 1)arrayAlternativeThe IDs of the work statuses excluded from the plan.
Unique items: true
workStatusIds (anyOf 1)[]JSONEach item
workStatusIds (anyOf 1)[] (anyOf 1)integerAlternativeFormat: int64
workStatusIds (anyOf 1)[] (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$
workStatusIds (anyOf 2)nullAlternative

Get plan — response body — issue Sources The issue sources included in the plan item

FieldTypePresenceDescription and constraints
$objectRoot
typeJSONOptional
type (anyOf 1)stringAlternativeThe issue source type. This is "Board", "Project" or "Filter".
Known values: Board, Project, Filter, Custom
type (anyOf 2)nullAlternative
valueJSONOptional
value (anyOf 1)JSONAlternative
value (anyOf 1) (anyOf 1)integerAlternativeThe issue source value. This is a board ID if the type is "Board", a project ID if the type is "Project" or a filter ID if the type is "Filter".
Format: int64
value (anyOf 1) (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$
value (anyOf 2)nullAlternative

Get plan — response body — permissions The permissions for the plan item

FieldTypePresenceDescription and constraints
$objectRoot
holderJSONOptional
holder (anyOf 1)ModelAlternativeExpand Get plan — response body — permissions The permissions for the plan item holder type, value
The permission holder.
holder (anyOf 2)nullAlternative
typeJSONOptional
type (anyOf 1)stringAlternativeThe permission type. This is "View" or "Edit".
Known values: View, Edit
type (anyOf 2)nullAlternative

Referenced models: Get plan — response body — permissions The permissions for the plan item holder type, value

Get plan — response body — permissions The permissions for the plan item holder type, value

FieldTypePresenceDescription and constraints
$objectRoot
typeJSONOptional
type (anyOf 1)stringAlternativeThe permission holder type. This is "Group" or "AccountId".
Known values: Group, AccountId
type (anyOf 2)nullAlternative
valueJSONOptional
value (anyOf 1)stringAlternativeThe permission holder value. This is a group name if the type is "Group" or an account ID if the type is "AccountId".
value (anyOf 2)nullAlternative

Get plan — response body — scheduling dependencies, end Date, estimation, inferred Dates, start Date

FieldTypePresenceDescription and constraints
$objectRoot
dependenciesJSONOptional
dependencies (anyOf 1)stringAlternativeThe dependencies for the plan. This is "Sequential" or "Concurrent".
Known values: Sequential, Concurrent
dependencies (anyOf 2)nullAlternative
endDateJSONOptional
endDate (anyOf 1)ModelAlternativeExpand Get plan — response body — scheduling dependencies, end Date, estimation, inferred Dates, start Date end Date date Custom Field Id, type
The end date field for the plan.
endDate (anyOf 2)nullAlternative
estimationJSONOptional
estimation (anyOf 1)stringAlternativeThe estimation unit for the plan. This is "StoryPoints", "Days" or "Hours".
Known values: StoryPoints, Days, Hours
estimation (anyOf 2)nullAlternative
inferredDatesJSONOptional
inferredDates (anyOf 1)stringAlternativeThe inferred dates for the plan. This is "None", "SprintDates" or "ReleaseDates".
Known values: None, SprintDates, ReleaseDates
inferredDates (anyOf 2)nullAlternative
startDateJSONOptional
startDate (anyOf 1)ModelAlternativeExpand Get plan — response body — scheduling dependencies, end Date, estimation, inferred Dates, start Date end Date date Custom Field Id, type
The start date field for the plan.
startDate (anyOf 2)nullAlternative

Referenced models: Get plan — response body — scheduling dependencies, end Date, estimation, inferred Dates, start Date end Date date Custom Field Id, type

Get plan — response body — scheduling dependencies, end Date, estimation, inferred Dates, start Date end Date date Custom Field Id, type

FieldTypePresenceDescription and constraints
$objectRoot
dateCustomFieldIdJSONOptional
dateCustomFieldId (anyOf 1)JSONAlternative
dateCustomFieldId (anyOf 1) (anyOf 1)integerAlternativeA date custom field ID. This is returned if the type is "DateCustomField".
Format: int64
dateCustomFieldId (anyOf 1) (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$
dateCustomFieldId (anyOf 2)nullAlternative
typeJSONOptional
type (anyOf 1)stringAlternativeThe date field type. This is "DueDate", "TargetStartDate", "TargetEndDate" or "DateCustomField".
Known values: DueDate, TargetStartDate, TargetEndDate, DateCustomField
type (anyOf 2)nullAlternative

Get plans paginated — response body

FieldTypePresenceDescription and constraints
$objectRoot
cursorJSONOptional
cursor (anyOf 1)stringAlternative
cursor (anyOf 2)nullAlternative
lastJSONOptional
last (anyOf 1)booleanAlternative
last (anyOf 2)nullAlternative
nextPageCursorJSONOptional
nextPageCursor (anyOf 1)stringAlternative
nextPageCursor (anyOf 2)nullAlternative
sizeJSONOptional
size (anyOf 1)JSONAlternative
size (anyOf 1) (anyOf 1)integerAlternativeFormat: int32
size (anyOf 1) (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$
size (anyOf 2)nullAlternative
totalJSONOptional
total (anyOf 1)JSONAlternative
total (anyOf 1) (anyOf 1)integerAlternativeFormat: int64
total (anyOf 1) (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$
total (anyOf 2)nullAlternative
valuesJSONOptional
values (anyOf 1)arrayAlternative
values (anyOf 1)[]ModelEach itemExpand Get plans paginated — response body — values array item
values (anyOf 2)nullAlternative

Referenced models: Get plans paginated — response body — values array item

Get plans paginated — response body — values array item

FieldTypePresenceDescription and constraints
$objectRoot
idJSONOptional
id (anyOf 1)stringAlternativeThe plan ID.
id (anyOf 2)nullAlternative
issueSourcesJSONOptional
issueSources (anyOf 1)arrayAlternativeThe issue sources included in the plan.
Unique items: true
issueSources (anyOf 1)[]ModelEach itemExpand Get plan — response body — issue Sources The issue sources included in the plan item
issueSources (anyOf 2)nullAlternative
nameJSONOptional
name (anyOf 1)stringAlternativeThe plan name.
name (anyOf 2)nullAlternative
scenarioIdJSONOptional
scenarioId (anyOf 1)stringAlternativeDefault scenario ID.
scenarioId (anyOf 2)nullAlternative
statusJSONOptional
status (anyOf 1)stringAlternativeThe plan status. This is "Active", "Trashed" or "Archived".
Known values: Active, Trashed, Archived
status (anyOf 2)nullAlternative

Referenced models: Get plan — response body — issue Sources The issue sources included in the plan item

Report an issue with this page

Necessary

Required for sign-in, security, authorization, and remembering your choices.

Always active

Analytics

Helps us understand which product and documentation features are useful.

Performance diagnostics

Uses performance tracing and privacy-masked session replay to diagnose problems.

You can change these choices at any time from Cookie settings.