openapi: 3.1.0
info:
title: Atlassian Admin Account Issue Fields API
description: The Atlassian Admin API provides programmatic access to manage Atlassian organizations, users, domains, policies, and events. It enables administrators to automate organization management tasks, integrate with identity providers, and ensure appropriate access to Atlassian products.
version: 1.0.0
contact:
name: Atlassian Developer
url: https://developer.atlassian.com/cloud/admin/
license:
name: Atlassian Developer Terms
url: https://developer.atlassian.com/platform/marketplace/atlassian-developer-terms/
x-logo:
url: https://wac-cdn.atlassian.com/assets/img/favicons/atlassian/favicon.png
servers:
- url: https://api.atlassian.com
description: Atlassian Cloud API
security:
- bearerAuth: []
- oauth2: []
tags:
- name: Issue Fields
paths:
/rest/api/3/field/search:
get:
deprecated: false
description: Returns a [paginated](#pagination) list of fields for Classic Jira projects. The list can include:
* all fields
* specific fields, by defining `id`
* fields that contain a string in the field name or description, by defining `query`
* specific fields that contain a string in the field name or description, by defining `id` and `query`
Only custom fields can be queried, `type` must be set to `custom`.
**[Permissions](#permissions) required:** *Administer Jira* [global permission](https://confluence.atlassian.com/x/x4dKLg).
operationId: atlassianGetfieldspaginated
parameters:
- description: The index of the first item to return in a page of results (page offset).
in: query
name: startAt
schema:
default: 0
format: int64
type: integer
- description: The maximum number of items to return per page.
in: query
name: maxResults
schema:
default: 50
format: int32
type: integer
- description: The type of fields to search.
in: query
name: type
schema:
items:
default: ''
enum:
- custom
- system
type: string
type: array
- description: The IDs of the custom fields to return or, where `query` is specified, filter.
in: query
name: id
schema:
items:
default: ''
type: string
type: array
uniqueItems: true
- description: String used to perform a case-insensitive partial match with field names or descriptions.
in: query
name: query
schema:
type: string
- description: "[Order](#ordering) the results by a field:\n\n * `contextsCount` sorts by the number of contexts related to a field\n * `lastUsed` sorts by the date when the value of the field last changed\n * `name` sorts by the field name\n * `screensCount` sorts by the number of screens related to a field"
in: query
name: orderBy
schema:
enum:
- contextsCount
- -contextsCount
- +contextsCount
- lastUsed
- -lastUsed
- +lastUsed
- name
- -name
- +name
- screensCount
- -screensCount
- +screensCount
- projectsCount
- -projectsCount
- +projectsCount
type: string
- description: "Use [expand](#expansion) to include additional information in the response. This parameter accepts a comma-separated list. Expand options include:\n\n * `key` returns the key for each field\n * `lastUsed` returns the date when the value of the field last changed\n * `screensCount` returns the number of screens related to a field\n * `contextsCount` returns the number of contexts related to a field\n * `isLocked` returns information about whether the field is [locked](https://confluence.atlassian.com/x/ZSN7Og)\n * `searcherKey` returns the searcher key for each custom field"
in: query
name: expand
schema:
type: string
responses:
'200':
content:
application/json:
example: '{"isLast":false,"maxResults":50,"startAt":0,"total":2,"values":[{"id":"customfield_10000","name":"Approvers","schema":{"custom":"com.atlassian.jira.plugin.system.customfieldtypes:multiuserpicker","customId":10000,"items":"user","type":"array"},"description":"Contains users needed for approval. This custom field was created by Jira Service Desk.","key":"customfield_10000","isLocked":true,"searcherKey":"com.atlassian.jira.plugin.system.customfieldtypes:userpickergroupsearcher","screensCount":2,"contextsCount":2,"lastUsed":{"type":"TRACKED","value":"2021-01-28T07:37:40.000+0000"}},{"id":"customfield_10001","name":"Change reason","schema":{"custom":"com.atlassian.jira.plugin.system.customfieldtypes:select","customId":10001,"type":"option"},"description":"Choose the reason for the change request","key":"customfield_10001","isLocked":false,"searcherKey":"com.atlassian.jira.plugin.system.customfieldtypes:multiselectsearcher","screensCount":2,"contextsCount":2,"projectsCount":2,"lastUsed":{"type":"NOT_TRACKED"}}]}'
schema:
$ref: '#/components/schemas/PageBeanField'
description: Returned if the request is successful.
'400':
content:
application/json:
example: '{"errorMessages":["Only custom fields can be queried."],"errors":{}}'
schema:
$ref: '#/components/schemas/ErrorCollection'
description: Returned if the request is invalid.
'401':
description: Returned if the authentication credentials are incorrect or missing.
'403':
content:
application/json:
example: '{"errorMessages":["Only Jira administrators can access fields."],"errors":{}}'
schema:
$ref: '#/components/schemas/ErrorCollection'
description: Returned if the user does not have the necessary permission.
security:
- basicAuth: []
- OAuth2:
- read:jira-work
summary: Atlassian Get Fields Paginated
tags:
- Issue Fields
x-atlassian-data-security-policy:
- app-access-rule-exempt: true
x-atlassian-oauth2-scopes:
- scheme: OAuth2
scopes:
- read:jira-work
state: Current
- scheme: OAuth2
scopes:
- read:field:jira
- read:field-configuration:jira
state: Beta
x-atlassian-connect-scope: NONE
/rest/api/3/field/search/trashed:
get:
deprecated: false
description: Returns a [paginated](#pagination) list of fields in the trash. The list may be restricted to fields whose field name or description partially match a string.
Only custom fields can be queried, `type` must be set to `custom`.
**[Permissions](#permissions) required:** *Administer Jira* [global permission](https://confluence.atlassian.com/x/x4dKLg).
operationId: atlassianGettrashedfieldspaginated
parameters:
- description: The index of the first item to return in a page of results (page offset).
in: query
name: startAt
schema:
default: 0
format: int64
type: integer
- description: The maximum number of items to return per page.
in: query
name: maxResults
schema:
default: 50
format: int32
type: integer
- in: query
name: id
schema:
items:
default: ''
type: string
type: array
uniqueItems: true
- description: String used to perform a case-insensitive partial match with field names or descriptions.
in: query
name: query
schema:
type: string
- in: query
name: expand
schema:
enum:
- name
- -name
- +name
- trashDate
- -trashDate
- +trashDate
- plannedDeletionDate
- -plannedDeletionDate
- +plannedDeletionDate
- projectsCount
- -projectsCount
- +projectsCount
type: string
- description: "[Order](#ordering) the results by a field:\n\n * `name` sorts by the field name\n * `trashDate` sorts by the date the field was moved to the trash\n * `plannedDeletionDate` sorts by the planned deletion date"
in: query
name: orderBy
schema:
type: string
responses:
'200':
content:
application/json:
example: '{"isLast":false,"maxResults":50,"startAt":0,"total":1,"values":[{"id":"customfield_10000","name":"Approvers","schema":{"custom":"com.atlassian.jira.plugin.system.customfieldtypes:multiuserpicker","customId":10003,"type":"array"},"description":"Contains users needed for approval. This custom field was created by Jira Service Desk.","key":"customfield_10003","trashedDate":"2022-10-06T07:32:47.000+0000","trashedBy":{"accountId":"5b10a2844c20165700ede21g","active":true,"avatarUrls":{"16x16":"https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=16&s=16","24x24":"https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=24&s=24","32x32":"https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=32&s=32","48x48":"https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=48&s=48"},"displayName":"Mia Krystof","emailAddress":"mia@example.com","self":"https://your-domain.atlassian.net/rest/api/3/user?accountId=5b10a2844c20165700ede21g","timeZone":"Australia/Sydney"},"plannedDeletionDate":"2022-10-24T07:32:47.000+0000"}]}'
schema:
$ref: '#/components/schemas/PageBeanField'
description: Returned if the request is successful.
'400':
content:
application/json:
example: '{"errorMessages":["Only custom fields can be queried."],"errors":{}}'
schema:
$ref: '#/components/schemas/ErrorCollection'
description: Returned if the request is invalid.
'401':
description: Returned if the authentication credentials are incorrect or missing.
'403':
content:
application/json:
example: '{"errorMessages":["Only Jira administrators can access fields."],"errors":{}}'
schema:
$ref: '#/components/schemas/ErrorCollection'
description: Returned if the user does not have the necessary permission.
security:
- basicAuth: []
- OAuth2:
- read:jira-work
summary: Atlassian Get Fields In Trash Paginated
tags:
- Issue Fields
x-atlassian-data-security-policy:
- app-access-rule-exempt: true
x-atlassian-oauth2-scopes:
- scheme: OAuth2
scopes:
- read:jira-work
state: Current
- scheme: OAuth2
scopes:
- read:field:jira
- read:field-configuration:jira
- read:user:jira
state: Beta
x-atlassian-connect-scope: READ
/rest/api/3/field/{fieldId}:
put:
deprecated: false
description: Updates a custom field.
**[Permissions](#permissions) required:** *Administer Jira* [global permission](https://confluence.atlassian.com/x/x4dKLg).
operationId: atlassianUpdatecustomfield
parameters:
- description: The ID of the custom field.
in: path
name: fieldId
required: true
schema:
type: string
requestBody:
content:
application/json:
example:
description: Select the manager and the corresponding employee.
name: Managers and employees list
searcherKey: com.atlassian.jira.plugin.system.customfieldtypes:cascadingselectsearcher
schema:
$ref: '#/components/schemas/UpdateCustomFieldDetails'
description: The custom field update details.
required: true
responses:
'204':
content:
application/json:
schema: {}
description: Returned if the request is successful.
'400':
content:
application/json:
example: '{"errorMessages":["searcherKey is invalid for the field type."],"errors":{}}'
description: Returned if the request is not valid.
'401':
description: Returned if the authentication credentials are incorrect or missing.
'403':
content:
application/json:
example: '{"errorMessages":["Only Jira administrators can edit custom fields."],"errors":{}}'
description: Returned if the user does not have the required permissions.
'404':
content:
application/json:
example: '{"errorMessages":["The custom field was not found."],"errors":{}}'
description: Returned if the custom field is not found.
security:
- basicAuth: []
- OAuth2:
- manage:jira-configuration
summary: Atlassian Update Custom Field
tags:
- Issue Fields
x-atlassian-data-security-policy:
- app-access-rule-exempt: true
x-atlassian-oauth2-scopes:
- scheme: OAuth2
scopes:
- manage:jira-configuration
state: Current
- scheme: OAuth2
scopes:
- write:field:jira
state: Beta
x-atlassian-connect-scope: ADMIN
/rest/api/3/field/{fieldId}/contexts:
get:
deprecated: true
description: Returns a [paginated](#pagination) list of the contexts a field is used in. Deprecated, use [ Get custom field contexts](#api-rest-api-3-field-fieldId-context-get).
**[Permissions](#permissions) required:** *Administer Jira* [global permission](https://confluence.atlassian.com/x/x4dKLg).
operationId: atlassianGetcontextsforfielddeprecated
parameters:
- description: The ID of the field to return contexts for.
in: path
name: fieldId
required: true
schema:
type: string
- description: The index of the first item to return in a page of results (page offset).
in: query
name: startAt
schema:
default: 0
format: int64
type: integer
- description: The maximum number of items to return per page.
in: query
name: maxResults
schema:
default: 20
format: int32
type: integer
responses:
'200':
content:
application/json:
example: '{"isLast":false,"maxResults":1,"startAt":0,"total":5,"values":[{"id":10001,"name":"Default Context"}]}'
schema:
$ref: '#/components/schemas/PageBeanContext'
description: Returned if the request is successful.
'401':
description: Returned if the authentication credentials are incorrect or missing.
'403':
description: Returned if the user does not have the necessary permission.
security:
- basicAuth: []
- OAuth2:
- manage:jira-project
- {}
summary: Atlassian Get Contexts For A Field
tags:
- Issue Fields
x-atlassian-data-security-policy:
- app-access-rule-exempt: true
x-atlassian-oauth2-scopes:
- scheme: OAuth2
scopes:
- manage:jira-project
state: Current
- scheme: OAuth2
scopes:
- read:field:jira
- read:avatar:jira
- read:project-category:jira
- read:project:jira
state: Beta
x-atlassian-connect-scope: NONE
/rest/api/3/field/{id}:
delete:
deprecated: false
description: Deletes a custom field. The custom field is deleted whether it is in the trash or not. See [Edit or delete a custom field](https://confluence.atlassian.com/x/Z44fOw) for more information on trashing and deleting custom fields.
This operation is [asynchronous](#async). Follow the `location` link in the response to determine the status of the task and use [Get task](#api-rest-api-3-task-taskId-get) to obtain subsequent updates.
**[Permissions](#permissions) required:** *Administer Jira* [global permission](https://confluence.atlassian.com/x/x4dKLg).
operationId: atlassianDeletecustomfield
parameters:
- description: The ID of a custom field.
in: path
name: id
required: true
schema:
type: string
responses:
'303':
content:
application/json:
schema:
$ref: '#/components/schemas/TaskProgressBeanObject'
description: Returned if the request is successful.
'400':
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorCollection'
description: "Returned if any of these are true:\n\n * The custom field is locked.\n * The custom field is used in a issue security scheme or a permission scheme.\n * The custom field ID format is incorrect."
'401':
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorCollection'
description: Returned if the authentication credentials are incorrect or missing.
'403':
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorCollection'
description: Returned if the user does not have the necessary permission.
'404':
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorCollection'
description: Returned if the custom field is not found.
'409':
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorCollection'
description: Returned if a task to delete the custom field is running.
security:
- basicAuth: []
- OAuth2:
- manage:jira-configuration
summary: Atlassian Delete Custom Field
tags:
- Issue Fields
x-atlassian-data-security-policy:
- app-access-rule-exempt: false
x-atlassian-oauth2-scopes:
- scheme: OAuth2
scopes:
- manage:jira-configuration
state: Current
- scheme: OAuth2
scopes:
- delete:field:jira
state: Beta
x-atlassian-connect-scope: ADMIN
/rest/api/3/field/{id}/restore:
post:
deprecated: false
description: Restores a custom field from trash. See [Edit or delete a custom field](https://confluence.atlassian.com/x/Z44fOw) for more information on trashing and deleting custom fields.
**[Permissions](#permissions) required:** *Administer Jira* [global permission](https://confluence.atlassian.com/x/x4dKLg).
operationId: atlassianRestorecustomfield
parameters:
- description: The ID of a custom field.
in: path
name: id
required: true
schema:
type: string
responses:
'200':
content:
application/json:
schema: {}
description: Returned if the request is successful.
'400':
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorCollection'
description: Returned if the request is invalid.
'401':
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorCollection'
description: Returned if the authentication credentials are incorrect or missing.
'403':
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorCollection'
description: Returned if the user does not have the necessary permission.
'404':
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorCollection'
description: Returned if the custom field is not found.
security:
- basicAuth: []
- OAuth2:
- manage:jira-configuration
summary: Atlassian Restore Custom Field From Trash
tags:
- Issue Fields
x-atlassian-data-security-policy:
- app-access-rule-exempt: true
x-atlassian-oauth2-scopes:
- scheme: OAuth2
scopes:
- manage:jira-configuration
state: Current
- scheme: OAuth2
scopes:
- write:field:jira
state: Beta
x-atlassian-connect-scope: ADMIN
/rest/api/3/field/{id}/trash:
post:
deprecated: false
description: Moves a custom field to trash. See [Edit or delete a custom field](https://confluence.atlassian.com/x/Z44fOw) for more information on trashing and deleting custom fields.
**[Permissions](#permissions) required:** *Administer Jira* [global permission](https://confluence.atlassian.com/x/x4dKLg).
operationId: atlassianTrashcustomfield
parameters:
- description: The ID of a custom field.
in: path
name: id
required: true
schema:
type: string
responses:
'200':
content:
application/json:
schema: {}
description: Returned if the request is successful.
'400':
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorCollection'
description: Returned if the request is invalid.
'401':
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorCollection'
description: Returned if the authentication credentials are incorrect or missing.
'403':
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorCollection'
description: Returned if the user does not have the necessary permission.
'404':
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorCollection'
description: Returned if the custom field is not found.
security:
- basicAuth: []
- OAuth2:
- manage:jira-configuration
summary: Atlassian Move Custom Field To Trash
tags:
- Issue Fields
x-atlassian-data-security-policy:
- app-access-rule-exempt: true
x-atlassian-oauth2-scopes:
- scheme: OAuth2
scopes:
- manage:jira-configuration
state: Current
- scheme: OAuth2
scopes:
- delete:field:jira
state: Beta
x-atlassian-connect-scope: ADMIN
/rest/api/3/field:
get:
deprecated: false
description: Returns system and custom issue fields according to the following rules:
* Fields that cannot be added to the issue navigator are always returned.
* Fields that cannot be placed on an issue screen are always returned.
* Fields that depend on global Jira settings are only returned if the setting is enabled. That is, timetracking fields, subtasks, votes, and watches.
* For all other fields, this operation only returns the fields that the user has permission to view (that is, the field is used in at least one project that the user has *Browse Projects* [project permission](https://confluence.atlassian.com/x/yodKLg) for.)
This operation can be accessed anonymously.
**[Permissions](#permissions) required:** None.
operationId: atlassianGetfields
parameters: []
responses:
'200':
content:
application/json:
example: '[{"clauseNames":["description"],"custom":false,"id":"description","name":"Description","navigable":true,"orderable":true,"schema":{"system":"description","type":"string"},"searchable":true},{"clauseNames":["summary"],"custom":false,"id":"summary","key":"summary","name":"Summary","navigable":true,"orderable":true,"schema":{"system":"summary","type":"string"},"searchable":true}]'
schema:
items:
$ref: '#/components/schemas/FieldDetails'
type: array
description: Returned if the request is successful.
'401':
description: Returned if the authentication credentials are incorrect or missing.
security:
- basicAuth: []
- OAuth2:
- read:jira-work
- {}
summary: Atlassian Get Fields
tags:
- Issue Fields
x-atlassian-data-security-policy:
- app-access-rule-exempt: true
x-atlassian-oauth2-scopes:
- scheme: OAuth2
scopes:
- read:jira-work
state: Current
- scheme: OAuth2
scopes:
- read:field:jira
- read:avatar:jira
- read:project-category:jira
- read:project:jira
- read:field-configuration:jira
state: Beta
x-atlassian-connect-scope: READ
post:
deprecated: false
description: Creates a custom field.
**[Permissions](#permissions) required:** *Administer Jira* [global permission](https://confluence.atlassian.com/x/x4dKLg).
operationId: atlassianCreatecustomfield
parameters: []
requestBody:
content:
application/json:
example:
description: Custom field for picking groups
name: New custom field
searcherKey: com.atlassian.jira.plugin.system.customfieldtypes:grouppickersearcher
type: com.atlassian.jira.plugin.system.customfieldtypes:grouppicker
schema:
$ref: '#/components/schemas/CustomFieldDefinitionJsonBean'
description: Definition of the custom field to be created
required: true
responses:
'201':
content:
application/json:
example: '{"clauseNames":["cf[10101]","New custom field"],"custom":true,"id":"customfield_10101","key":"customfield_10101","name":"New custom field","navigable":true,"orderable":true,"schema":{"custom":"com.atlassian.jira.plugin.system.customfieldtypes:project","customId":10101,"type":"project"},"searchable":true,"untranslatedName":"New custom field"}'
schema:
$ref: '#/components/schemas/FieldDetails'
description: Returned if the custom field is created.
'400':
description: "Returned if:\n\n * the user does not have permission to create custom fields.\n * any of the request object properties have invalid or missing values."
security:
- basicAuth: []
- OAuth2:
- manage:jira-configuration
- {}
summary: Atlassian Create Custom Field
tags:
- Issue Fields
x-atlassian-data-security-policy:
- app-access-rule-exempt: true
x-atlassian-oauth2-scopes:
- scheme: OAuth2
scopes:
- manage:jira-configuration
state: Current
- scheme: OAuth2
scopes:
- write:field:jira
- read:avatar:jira
- read:field:jira
- read:project-category:jira
- read:project:jira
- read:field-configuration:jira
state: Beta
x-atlassian-connect-scope: ADMIN
components:
schemas:
JsonTypeBean:
additionalProperties: false
description: The schema of a field.
properties:
configuration:
additionalProperties:
readOnly: true
description: If the field is a custom field, the configuration of the field.
readOnly: true
type: object
custom:
description: If the field is a custom field, the URI of the field.
readOnly: true
type: string
customId:
description: If the field is a custom field, the custom ID of the field.
format: int64
readOnly: true
type: integer
items:
description: When the data type is an array, the name of the field items within the array.
readOnly: true
type: string
system:
description: If the field is a system field, the name of the field.
readOnly: true
type: string
type:
description: The data type of the field.
readOnly: true
type: string
required:
- type
type: object
AvatarUrlsBean:
additionalProperties: false
properties:
16x16:
description: The URL of the item's 16x16 pixel avatar.
format: uri
type: string
24x24:
description: The URL of the item's 24x24 pixel avatar.
format: uri
type: string
32x32:
description: The URL of the item's 32x32 pixel avatar.
format: uri
type: string
48x48:
description: The URL of the item's 48x48 pixel avatar.
format: uri
type: string
type: object
Field:
additionalProperties: false
description: Details of a field.
properties:
contextsCount:
description: Number of contexts where the field is used.
format: int64
type: integer
description:
description: The description of the field.
type: string
id:
description: The ID of the field.
type: string
isLocked:
description: Whether the field is locked.
type: boolean
isUnscreenable:
description: Whether the field is shown on screen or not.
type: boolean
key:
description: The key of the field.
type: string
lastUsed:
$ref: '#/components/schemas/FieldLastUsed'
name:
description: The name of the field.
type: string
projectsCount:
description: Number of projects where the field is used.
format: int64
type: integer
schema:
$ref: '#/components/schemas/JsonTypeBean'
screensCount:
description: Number of screens where the field is used.
format: int64
type: integer
searcherKey:
description: The searcher key of the field. Returned for custom fields.
type: string
required:
- id
- name
- schema
type: object
FieldDetails:
additionalProperties: false
description: Details about a field.
properties:
clauseNames:
description: The names that can be used to reference the field in an advanced search. For more information, see [Advanced searching - fields reference](https://confluence.atlassian.com/x/gwORLQ).
items:
type: string
type: array
uniqueItems: true
custom:
description: Whether the field is a custom field.
type: boolean
id:
description: The ID of the field.
type: string
key:
description: The key of the field.
type: string
name:
description: The name of the field.
type: string
navigable:
description: Whether the field can be used as a column on the issue navigator.
type: boolean
orderable:
description: Whether the content of the field can be used to order lists.
type: boolean
schema:
allOf:
- $ref: '#/components/schemas/JsonTypeBean'
description: The data schema for the field.
scope:
allOf:
- $ref: '#/components/schemas/Scope'
description: The scope of the field.
searchable:
description: Whether the content of the field can be searched.
type: boolean
type: object
xml:
name: field
Scope:
additionalProperties: true
description: The projects the item is associated with. Indicated for items associated with [next-gen projects](https://confluence.atlassian.com/x/loMyO).
properties:
project:
allOf:
- $ref: '#/components/schemas/ProjectDetails'
description: The project the item has scope in.
readOnly: true
type:
description: The type of scope.
enum:
- PROJECT
- TEMPLATE
readOnly: true
type: string
type: object
Context:
additionalProperties: false
description: A context.
properties:
id:
description: The ID of the context.
format: int64
readOnly: true
type: integer
name:
description: The name of the context.
readOnly: true
type: string
scope:
allOf:
- $ref: '#/components/schemas/Scope'
description: The scope of the context.
type: object
TaskProgressBeanObject:
additionalProperties: false
description: Details about a task.
properties:
description:
description: The description of the task.
type: string
elapsedRuntime:
description: The execution time of the task, in milliseconds.
format: int64
type: integer
finished:
description: A timestamp recording when the task was finished.
format: int64
type: integer
id:
description: The ID of the task.
type: string
lastUpdate:
description: A timestamp recording when the task progress was last updated.
format: int64
type: integer
message:
description: Information about the progress of the task.
type: string
progress:
description: The progress of the task, as a percentage complete.
format: int64
type: integer
result:
description: The result of the task execution.
self:
description: The URL of the task.
format: uri
type: string
started:
description: A timestamp recording when the task was started.
format: int64
type: integer
status:
description: The status of the task.
enum:
- ENQUEUED
- RUNNING
- COMPLETE
- FAILED
- CANCEL_REQUESTED
- CANCELLED
- DEAD
type: string
submitted:
description: A timestamp recording when the task was submitted.
format: int64
type: integer
submittedBy:
description: The ID of the user who submitted the task.
format: int64
type: integer
required:
- elapsedRuntime
- id
- lastUpdate
- progress
- self
- status
- submitted
- submittedBy
type: object
UpdatedProjectCategory:
additionalProperties: false
description: A project category.
properties:
description:
description: The name of the project category.
readOnly: true
type: string
id:
description: The ID of the project category.
readOnly: true
type: string
name:
description: The description of the project category.
readOnly: true
type: string
self:
description: The URL of the project category.
readOnly: true
type: string
type: object
FieldLastUsed:
additionalProperties: false
description: Information about the most recent use of a field.
properties:
type:
description: "Last used value type:\n\n * *TRACKED*: field is tracked and a last used date is available.\n * *NOT\\_TRACKED*: field is not tracked, last used date is not available.\n * *NO\\_INFORMATION*: field is tracked, but no last used date is available."
enum:
- TRACKED
- NOT_TRACKED
- NO_INFORMATION
type: string
value:
description: The date when the value of the field last changed.
format: date-time
type: string
type: object
CustomFieldDefinitionJsonBean:
additionalProperties: false
properties:
description:
description: The description of the custom field, which is displayed in Jira.
type: string
name:
description: The name of the custom field, which is displayed in Jira. This is not the unique identifier.
type: string
searcherKey:
description: "The searcher defines the way the field is searched in Jira. For example, *com.atlassian.jira.plugin.system.customfieldtypes:grouppickersearcher*. \nThe search UI (basic search and JQL search) will display different operations and values for the field, based on the field searcher. You must specify a searcher that is valid for the field type, as listed below (abbreviated values shown):\n\n * `cascadingselect`: `cascadingselectsearcher`\n * `datepicker`: `daterange`\n * `datetime`: `datetimerange`\n * `float`: `exactnumber` or `numberrange`\n * `grouppicker`: `grouppickersearcher`\n * `importid`: `exactnumber` or `numberrange`\n * `labels`: `labelsearcher`\n * `multicheckboxes`: `multiselectsearcher`\n * `multigrouppicker`: `multiselectsearcher`\n * `multiselect`: `multiselectsearcher`\n * `multiuserpicker`: `userpickergroupsearcher`\n * `multiversion`: `versionsearcher`\n * `project`: `projectsearcher`\n * `radiobuttons`: `multiselectsearcher`\n * `readonlyfield`: `textsearcher`\n * `select`: `multiselectsearcher`\n * `textarea`: `textsearcher`\n * `textfield`: `textsearcher`\n * `url`: `exacttextsearcher`\n * `userpicker`: `userpickergroupsearcher`\n * `version`: `versionsearcher`\n\nIf no searcher is provided, the field isn't searchable. However, [Forge custom fields](https://developer.atlassian.com/platform/forge/manifest-reference/modules/#jira-custom-field-type--beta-) have a searcher set automatically, so are always searchable."
enum:
- com.atlassian.jira.plugin.system.customfieldtypes:cascadingselectsearcher
- com.atlassian.jira.plugin.system.customfieldtypes:daterange
- com.atlassian.jira.plugin.system.customfieldtypes:datetimerange
- com.atlassian.jira.plugin.system.customfieldtypes:exactnumber
- com.atlassian.jira.plugin.system.customfieldtypes:exacttextsearcher
- com.atlassian.jira.plugin.system.customfieldtypes:grouppickersearcher
- com.atlassian.jira.plugin.system.customfieldtypes:labelsearcher
- com.atlassian.jira.plugin.system.customfieldtypes:multiselectsearcher
- com.atlassian.jira.plugin.system.customfieldtypes:numberrange
- com.atlassian.jira.plugin.system.customfieldtypes:projectsearcher
- com.atlassian.jira.plugin.system.customfieldtypes:textsearcher
- com.atlassian.jira.plugin.system.customfieldtypes:userpickergroupsearcher
- com.atlassian.jira.plugin.system.customfieldtypes:versionsearcher
type: string
type:
description: "The type of the custom field. These built-in custom field types are available:\n\n * `cascadingselect`: Enables values to be selected from two levels of select lists (value: `com.atlassian.jira.plugin.system.customfieldtypes:cascadingselect`)\n * `datepicker`: Stores a date using a picker control (value: `com.atlassian.jira.plugin.system.customfieldtypes:datepicker`)\n * `datetime`: Stores a date with a time component (value: `com.atlassian.jira.plugin.system.customfieldtypes:datetime`)\n * `float`: Stores and validates a numeric (floating point) input (value: `com.atlassian.jira.plugin.system.customfieldtypes:float`)\n * `grouppicker`: Stores a user group using a picker control (value: `com.atlassian.jira.plugin.system.customfieldtypes:grouppicker`)\n * `importid`: A read-only field that stores the ID the issue had in the system it was imported from (value: `com.atlassian.jira.plugin.system.customfieldtypes:importid`)\n * `labels`: Stores labels (value: `com.atlassian.jira.plugin.system.customfieldtypes:labels`)\n * `multicheckboxes`: Stores multiple values using checkboxes (value: ``)\n * `multigrouppicker`: Stores multiple user groups using a picker control (value: ``)\n * `multiselect`: Stores multiple values using a select list (value: `com.atlassian.jira.plugin.system.customfieldtypes:multicheckboxes`)\n * `multiuserpicker`: Stores multiple users using a picker control (value: `com.atlassian.jira.plugin.system.customfieldtypes:multigrouppicker`)\n * `multiversion`: Stores multiple versions from the versions available in a project using a picker control (value: `com.atlassian.jira.plugin.system.customfieldtypes:multiversion`)\n * `project`: Stores a project from a list of projects that the user is permitted to view (value: `com.atlassian.jira.plugin.system.customfieldtypes:project`)\n * `radiobuttons`: Stores a value using radio buttons (value: `com.atlassian.jira.plugin.system.customfieldtypes:radiobuttons`)\n * `readonlyfield`: Stores a read-only text value, which can only be populated via the API (value: `com.atlassian.jira.plugin.system.customfieldtypes:readonlyfield`)\n * `select`: Stores a value from a configurable list of options (value: `com.atlassian.jira.plugin.system.customfieldtypes:select`)\n * `textarea`: Stores a long text string using a multiline text area (value: `com.atlassian.jira.plugin.system.customfieldtypes:textarea`)\n * `textfield`: Stores a text string using a single-line text box (value: `com.atlassian.jira.plugin.system.customfieldtypes:textfield`)\n * `url`: Stores a URL (value: `com.atlassian.jira.plugin.system.customfieldtypes:url`)\n * `userpicker`: Stores a user using a picker control (value: `com.atlassian.jira.plugin.system.customfieldtypes:userpicker`)\n * `version`: Stores a version using a picker control (value: `com.atlassian.jira.plugin.system.customfieldtypes:version`)\n\nTo create a field based on a [Forge custom field type](https://developer.atlassian.com/platform/forge/manifest-reference/modules/#jira-custom-field-type--beta-), use the ID of the Forge custom field type as the value. For example, `ari:cloud:ecosystem::extension/e62f20a2-4b61-4dbe-bfb9-9a88b5e3ac84/548c5df1-24aa-4f7c-bbbb-3038d947cb05/static/my-cf-type-key`."
type: string
required:
- name
- type
type: object
UpdateCustomFieldDetails:
additionalProperties: false
description: Details of a custom field.
properties:
description:
description: The description of the custom field. The maximum length is 40000 characters.
type: string
name:
description: The name of the custom field. It doesn't have to be unique. The maximum length is 255 characters.
type: string
searcherKey:
description: "The searcher that defines the way the field is searched in Jira. It can be set to `null`, otherwise you must specify the valid searcher for the field type, as listed below (abbreviated values shown):\n\n * `cascadingselect`: `cascadingselectsearcher`\n * `datepicker`: `daterange`\n * `datetime`: `datetimerange`\n * `float`: `exactnumber` or `numberrange`\n * `grouppicker`: `grouppickersearcher`\n * `importid`: `exactnumber` or `numberrange`\n * `labels`: `labelsearcher`\n * `multicheckboxes`: `multiselectsearcher`\n * `multigrouppicker`: `multiselectsearcher`\n * `multiselect`: `multiselectsearcher`\n * `multiuserpicker`: `userpickergroupsearcher`\n * `multiversion`: `versionsearcher`\n * `project`: `projectsearcher`\n * `radiobuttons`: `multiselectsearcher`\n * `readonlyfield`: `textsearcher`\n * `select`: `multiselectsearcher`\n * `textarea`: `textsearcher`\n * `textfield`: `textsearcher`\n * `url`: `exacttextsearcher`\n * `userpicker`: `userpickergroupsearcher`\n * `version`: `versionsearcher`"
enum:
- com.atlassian.jira.plugin.system.customfieldtypes:cascadingselectsearcher
- com.atlassian.jira.plugin.system.customfieldtypes:daterange
- com.atlassian.jira.plugin.system.customfieldtypes:datetimerange
- com.atlassian.jira.plugin.system.customfieldtypes:exactnumber
- com.atlassian.jira.plugin.system.customfieldtypes:exacttextsearcher
- com.atlassian.jira.plugin.system.customfieldtypes:grouppickersearcher
- com.atlassian.jira.plugin.system.customfieldtypes:labelsearcher
- com.atlassian.jira.plugin.system.customfieldtypes:multiselectsearcher
- com.atlassian.jira.plugin.system.customfieldtypes:numberrange
- com.atlassian.jira.plugin.system.customfieldtypes:projectsearcher
- com.atlassian.jira.plugin.system.customfieldtypes:textsearcher
- com.atlassian.jira.plugin.system.customfieldtypes:userpickergroupsearcher
- com.atlassian.jira.plugin.system.customfieldtypes:versionsearcher
type: string
type: object
writeOnly: true
PageBeanContext:
additionalProperties: false
description: A page of items.
properties:
isLast:
description: Whether this is the last page.
readOnly: true
type: boolean
maxResults:
description: The maximum number of items that could be returned.
format: int32
readOnly: true
type: integer
nextPage:
description: If there is another page of results, the URL of the next page.
format: uri
readOnly: true
type: string
self:
description: The URL of the page.
format: uri
readOnly: true
type: string
startAt:
description: The index of the first item returned.
format: int64
readOnly: true
type: integer
total:
description: The number of items returned.
format: int64
readOnly: true
type: integer
values:
description: The list of items.
items:
$ref: '#/components/schemas/Context'
readOnly: true
type: array
type: object
ErrorCollection:
additionalProperties: false
description: Error messages from an operation.
properties:
errorMessages:
description: The list of error messages produced by this operation. For example, "input parameter 'key' must be provided"
items:
type: string
type: array
errors:
additionalProperties:
type: string
description: 'The list of errors by parameter returned by the operation. For example,"projectKey": "Project keys must start with an uppercase letter, followed by one or more uppercase alphanumeric characters."'
type: object
status:
format: int32
type: integer
type: object
ProjectDetails:
additionalProperties: false
description: Details about a project.
properties:
avatarUrls:
allOf:
- $ref: '#/components/schemas/AvatarUrlsBean'
description: The URLs of the project's avatars.
readOnly: true
id:
description: The ID of the project.
type: string
key:
description: The key of the project.
readOnly: true
type: string
name:
description: The name of the project.
readOnly: true
type: string
projectCategory:
allOf:
- $ref: '#/components/schemas/UpdatedProjectCategory'
description: The category the project belongs to.
readOnly: true
projectTypeKey:
description: The [project type](https://confluence.atlassian.com/x/GwiiLQ#Jiraapplicationsoverview-Productfeaturesandprojecttypes) of the project.
enum:
- software
- service_desk
- business
readOnly: true
type: string
self:
description: The URL of the project details.
readOnly: true
type: string
simplified:
description: Whether or not the project is simplified.
readOnly: true
type: boolean
type: object
PageBeanField:
additionalProperties: false
description: A page of items.
properties:
isLast:
description: Whether this is the last page.
readOnly: true
type: boolean
maxResults:
description: The maximum number of items that could be returned.
format: int32
readOnly: true
type: integer
nextPage:
description: If there is another page of results, the URL of the next page.
format: uri
readOnly: true
type: string
self:
description: The URL of the page.
format: uri
readOnly: true
type: string
startAt:
description: The index of the first item returned.
format: int64
readOnly: true
type: integer
total:
description: The number of items returned.
format: int64
readOnly: true
type: integer
values:
description: The list of items.
items:
$ref: '#/components/schemas/Field'
readOnly: true
type: array
type: object
securitySchemes:
bearerAuth:
type: http
scheme: bearer
bearerFormat: API Key
description: Use an Atlassian API key as a Bearer token. Create API keys at https://admin.atlassian.com.
oauth2:
type: oauth2
description: OAuth 2.0 authorization for Atlassian Cloud APIs.
flows:
authorizationCode:
authorizationUrl: https://auth.atlassian.com/authorize
tokenUrl: https://auth.atlassian.com/oauth/token
scopes:
read:org:admin: Read organization information.
write:org:admin: Modify organization settings.
read:user:admin: Read user information.
write:user:admin: Modify user accounts.
read:policy:admin: Read organization policies.
write:policy:admin: Modify organization policies.
read:event:admin: Read organization events.
externalDocs:
description: Atlassian Admin REST API Documentation
url: https://developer.atlassian.com/cloud/admin/organization/rest/intro/