Skip to content

Atlassian: Issue search schemas

14 Atlassian schemas with complete fields and constraints.

← Issue search operations · All schemas

Check issues against JQL — request body — body

FieldTypePresenceDescription and constraints
$objectRootList of issues and JQL queries.
Additional keys: not allowed
issueIdsarrayRequired within parentA list of up to 50 issue IDs.
Unique items: true
issueIds[]integerEach itemA list of up to 50 issue IDs.
Format: int64
jqlsarrayRequired within parentA list of up to 10 JQL queries.
jqls[]stringEach itemA list of up to 10 JQL queries.

Check issues against JQL — response body

FieldTypePresenceDescription and constraints
$objectRootA list of matched issues or errors for each JQL query, in the order the JQL queries were passed.
matchesJSONOptional
matches (anyOf 1)arrayAlternative
matches (anyOf 1)[]ModelEach itemExpand Check issues against JQL — response body — matches array item
matches (anyOf 2)nullAlternative

Referenced models: Check issues against JQL — response body — matches array item

Check issues against JQL — response body — matches array item

FieldTypePresenceDescription and constraints
$objectRootA list of the issues matched to a JQL query or details of errors encountered during matching.
errorsJSONOptional
errors (anyOf 1)arrayAlternativeA list of errors.
Unique items: true
errors (anyOf 1)[]stringEach itemA list of errors.
errors (anyOf 2)nullAlternative
matchedIssuesJSONOptional
matchedIssues (anyOf 1)arrayAlternativeA list of issue IDs.
Unique items: true
matchedIssues (anyOf 1)[]JSONEach item
matchedIssues (anyOf 1)[] (anyOf 1)integerAlternativeA list of issue IDs.
Format: int64
matchedIssues (anyOf 1)[] (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$
matchedIssues (anyOf 2)nullAlternative

Count issues using JQL — request body — body

FieldTypePresenceDescription and constraints
$objectRootAdditional keys: not allowed
jqlstringOptionalA [JQL](https://confluence.atlassian.com/x/egORLQ) expression. For performance reasons, this parameter requires a bounded query. A bounded query is a query with a search restriction.

Count issues using JQL — response body

FieldTypePresenceDescription and constraints
$objectRoot
countJSONOptional
count (anyOf 1)JSONAlternative
count (anyOf 1) (anyOf 1)integerAlternativeNumber of issues matching JQL query.
Format: int64
count (anyOf 1) (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$
count (anyOf 2)nullAlternative

Currently being removed Search for issues using JQL (GET) — response body

FieldTypePresenceDescription and constraints
$objectRootThe result of a JQL search.
expandJSONOptional
expand (anyOf 1)stringAlternativeExpand options that include additional search result details in the response.
Read only: true
expand (anyOf 2)nullAlternative
issuesJSONOptional
issues (anyOf 1)arrayAlternativeThe list of issues found by the search.
Read only: true
issues (anyOf 1)[]ModelEach itemExpand Get issue — response body
issues (anyOf 2)nullAlternative
maxResultsJSONOptional
maxResults (anyOf 1)JSONAlternative
maxResults (anyOf 1) (anyOf 1)integerAlternativeThe maximum number of results that could be on the page.
Format: int32
Read only: true
maxResults (anyOf 1) (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$
maxResults (anyOf 2)nullAlternative
namesJSONOptional
names (anyOf 1)objectAlternativeThe ID and name of each field in the search results.
Read only: true
Additional keys: see wildcard field
names (anyOf 1).*stringAdditional keysRead only: true
names (anyOf 2)nullAlternative
schemaJSONOptional
schema (anyOf 1)objectAlternativeThe schema describing the field types in the search results.
Read only: true
Additional keys: see wildcard field
schema (anyOf 1).*ModelAdditional keysExpand Create custom field — response body — schema The schema of a field
schema (anyOf 2)nullAlternative
startAtJSONOptional
startAt (anyOf 1)JSONAlternative
startAt (anyOf 1) (anyOf 1)integerAlternativeThe index of the first item returned on the page.
Format: int32
Read only: true
startAt (anyOf 1) (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$
startAt (anyOf 2)nullAlternative
totalJSONOptional
total (anyOf 1)JSONAlternative
total (anyOf 1) (anyOf 1)integerAlternativeThe number of results on the page.
Format: int32
Read only: true
total (anyOf 1) (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$
total (anyOf 2)nullAlternative
warningMessagesJSONOptional
warningMessages (anyOf 1)arrayAlternativeAny warnings related to the JQL query.
Read only: true
warningMessages (anyOf 1)[]stringEach itemRead only: true
warningMessages (anyOf 2)nullAlternative

Referenced models: Get issue — response body, Create custom field — response body — schema The schema of a field

Currently being removed Search for issues using JQL (POST) — request body — body

FieldTypePresenceDescription and constraints
$objectRootAdditional keys: not allowed
expandarrayOptionalUse [expand](#expansion) to include additional information about issues in the response. Note that, unlike the majority of instances where `expand` is specified, `expand` is defined as a list of values. The expand options are:

* `renderedFields` Returns field values rendered in HTML format.
* `names` Returns the display name of each field.
* `schema` Returns the schema describing a field type.
* `transitions` Returns all possible transitions for the issue.
* `operations` Returns all possible operations for the issue.
* `editmeta` Returns information about how each field can be edited.
* `changelog` Returns a list of recent updates to an issue, sorted by date, starting from the most recent.
* `versionedRepresentations` Instead of `fields`, returns `versionedRepresentations` a JSON array containing each version of a field's value, with the highest numbered item representing the most recent version.
expand[]stringEach item
fieldsarrayOptionalA list of fields to return for each issue, use it to retrieve a subset of fields. This parameter accepts a comma-separated list. Expand options include:

* `*all` Returns all fields.
* `*navigable` Returns navigable fields.
* Any issue field, prefixed with a minus to exclude.

The default is `*navigable`.

Examples:

* `summary,comment` Returns the summary and comments fields only.
* `-description` Returns all navigable (default) fields except description.
* `*all,-comment` Returns all fields except comments.

Multiple `fields` parameters can be included in a request.

Note: All navigable fields are returned by default. This differs from [GET issue](#api-rest-api-3-issue-issueIdOrKey-get) where the default is all fields.
fields[]stringEach item
fieldsByKeysbooleanOptionalReference fields by their key (rather than ID). The default is `false`.
jqlstringOptionalA [JQL](https://confluence.atlassian.com/x/egORLQ) expression.
maxResultsintegerOptionalThe maximum number of items to return per page.
Default: 50
Format: int32
propertiesarrayOptionalA list of up to 5 issue properties to include in the results. This parameter accepts a comma-separated list.
properties[]stringEach item
startAtintegerOptionalThe index of the first item to return in the page of results (page offset). The base index is `0`.
Format: int32
validateQuerystringOptionalDetermines how to validate the JQL query and treat the validation results. Supported values:

* `strict` Returns a 400 response code if any errors are found, along with a list of all errors (and warnings).
* `warn` Returns all errors as warnings.
* `none` No validation is performed.
* `true` *Deprecated* A legacy synonym for `strict`.
* `false` *Deprecated* A legacy synonym for `warn`.

The default is `strict`.

Note: If the JQL is not correctly formed a 400 response code is returned, regardless of the `validateQuery` value.
One of: strict, warn, none, true, false

Get issue picker suggestions — response body

FieldTypePresenceDescription and constraints
$objectRootA list of issues suggested for use in auto-completion.
sectionsJSONOptional
sections (anyOf 1)arrayAlternativeA list of issues for an issue type suggested for use in auto-completion.
Read only: true
sections (anyOf 1)[]ModelEach itemExpand Get issue picker suggestions — response body — sections array item
sections (anyOf 2)nullAlternative

Referenced models: Get issue picker suggestions — response body — sections array item

Get issue picker suggestions — response body — sections array item

FieldTypePresenceDescription and constraints
$objectRootA type of issue suggested for use in auto-completion.
idJSONOptional
id (anyOf 1)stringAlternativeThe ID of the type of issues suggested for use in auto-completion.
Read only: true
id (anyOf 2)nullAlternative
issuesJSONOptional
issues (anyOf 1)arrayAlternativeA list of issues suggested for use in auto-completion.
Read only: true
issues (anyOf 1)[]ModelEach itemExpand Get issue picker suggestions — response body — sections array item issues array item
issues (anyOf 2)nullAlternative
labelJSONOptional
label (anyOf 1)stringAlternativeThe label of the type of issues suggested for use in auto-completion.
Read only: true
label (anyOf 2)nullAlternative
msgJSONOptional
msg (anyOf 1)stringAlternativeIf no issue suggestions are found, returns a message indicating no suggestions were found,
Read only: true
msg (anyOf 2)nullAlternative
subJSONOptional
sub (anyOf 1)stringAlternativeIf issue suggestions are found, returns a message indicating the number of issues suggestions found and returned.
Read only: true
sub (anyOf 2)nullAlternative

Referenced models: Get issue picker suggestions — response body — sections array item issues array item

Get issue picker suggestions — response body — sections array item issues array item

FieldTypePresenceDescription and constraints
$objectRootAn issue suggested for use in the issue picker auto-completion.
idJSONOptional
id (anyOf 1)JSONAlternative
id (anyOf 1) (anyOf 1)integerAlternativeThe ID of the issue.
Format: int64
Read only: true
id (anyOf 1) (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$
id (anyOf 2)nullAlternative
imgJSONOptional
img (anyOf 1)stringAlternativeThe URL of the issue type's avatar.
Read only: true
img (anyOf 2)nullAlternative
keyJSONOptional
key (anyOf 1)stringAlternativeThe key of the issue.
Read only: true
key (anyOf 2)nullAlternative
keyHtmlJSONOptional
keyHtml (anyOf 1)stringAlternativeThe key of the issue in HTML format.
Read only: true
keyHtml (anyOf 2)nullAlternative
summaryJSONOptional
summary (anyOf 1)stringAlternativeThe phrase containing the query string in HTML format, with the string highlighted with HTML bold tags.
Read only: true
summary (anyOf 2)nullAlternative
summaryTextJSONOptional
summaryText (anyOf 1)stringAlternativeThe phrase containing the query string, as plain text.
Read only: true
summaryText (anyOf 2)nullAlternative

Search for issues using JQL enhanced search (GET) — response body

FieldTypePresenceDescription and constraints
$objectRootThe result of a JQL search with issues reconsilation.
isLastJSONOptional
isLast (anyOf 1)booleanAlternativeIndicates whether this is the last page of the paginated response.
Read only: true
isLast (anyOf 2)nullAlternative
issuesJSONOptional
issues (anyOf 1)arrayAlternativeThe list of issues found by the search or reconsiliation.
Read only: true
issues (anyOf 1)[]ModelEach itemExpand Get issue — response body
issues (anyOf 2)nullAlternative
namesJSONOptional
names (anyOf 1)objectAlternativeThe ID and name of each field in the search results.
Read only: true
Additional keys: see wildcard field
names (anyOf 1).*stringAdditional keysRead only: true
names (anyOf 2)nullAlternative
nextPageTokenJSONOptional
nextPageToken (anyOf 1)stringAlternativeContinuation token to fetch the next page. If this result represents the last or the only page this token will be null. This token will expire in 7 days.
Read only: true
nextPageToken (anyOf 2)nullAlternative
schemaJSONOptional
schema (anyOf 1)objectAlternativeThe schema describing the field types in the search results.
Read only: true
Additional keys: see wildcard field
schema (anyOf 1).*ModelAdditional keysExpand Create custom field — response body — schema The schema of a field
schema (anyOf 2)nullAlternative
warningsJSONOptional
warnings (anyOf 1)arrayAlternativeExperimental. Warnings generated during the search, e.g. when a JQL clause exceeded its argument limit or when the result set was truncated due to an ingestion limit. This field is currently rolling out behind a feature flag and may be absent, empty, or change shape without notice until generally available.
Read only: true
warnings (anyOf 1)[]ModelEach itemExpand Search for issues using JQL enhanced search (GET) — response body — warnings array item
warnings (anyOf 2)nullAlternative

Referenced models: Get issue — response body, Create custom field — response body — schema The schema of a field, Search for issues using JQL enhanced search (GET) — response body — warnings array item

Search for issues using JQL enhanced search (GET) — response body — warnings array item

FieldTypePresenceDescription and constraints
$objectRootExperimental. A warning returned alongside successful search results.
detailsJSONOptional
details (anyOf 1)ModelAlternativeExpand Search for issues using JQL enhanced search (GET) — response body — warnings array item details actual, arguments, clause, limit
Structured details about the warning, if available.
details (anyOf 2)nullAlternative
messageJSONOptional
message (anyOf 1)stringAlternativeA human-readable explanation of the warning suitable for surfacing to end users.
Read only: true
message (anyOf 2)nullAlternative
typeJSONOptional
type (anyOf 1)stringAlternativeThe type of warning, e.g. CLAUSE\_LIMIT\_EXCEEDED.
Read only: true
type (anyOf 2)nullAlternative

Referenced models: Search for issues using JQL enhanced search (GET) — response body — warnings array item details actual, arguments, clause, limit

Search for issues using JQL enhanced search (GET) — response body — warnings array item details actual, arguments, clause, limit

FieldTypePresenceDescription and constraints
$objectRootExperimental. Structured details about a JQL clause exceeding its argument limit.
actualJSONOptional
actual (anyOf 1)JSONAlternative
actual (anyOf 1) (anyOf 1)integerAlternativeThe actual number of arguments supplied that exceeded the limit.
Format: int64
Read only: true
actual (anyOf 1) (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$
actual (anyOf 2)nullAlternative
argumentsJSONOptional
arguments (anyOf 1)stringAlternativeThe arguments passed to the JQL clause.
Read only: true
arguments (anyOf 2)nullAlternative
clauseJSONOptional
clause (anyOf 1)stringAlternativeThe JQL clause that triggered the limit, e.g. issueHistory().
Read only: true
clause (anyOf 2)nullAlternative
limitJSONOptional
limit (anyOf 1)JSONAlternative
limit (anyOf 1) (anyOf 1)integerAlternativeThe maximum number of arguments allowed for the clause.
Format: int64
Read only: true
limit (anyOf 1) (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$
limit (anyOf 2)nullAlternative

Search for issues using JQL enhanced search (POST) — request body — body

FieldTypePresenceDescription and constraints
$objectRootAdditional keys: not allowed
expandstringOptionalUse [expand](#expansion) to include additional information about issues in the response. Note that, unlike the majority of instances where `expand` is specified, `expand` is defined as a comma-delimited string of values. The expand options are:

* `renderedFields` Returns field values rendered in HTML format.
* `names` Returns the display name of each field.
* `schema` Returns the schema describing a field type.
* `transitions` Returns all possible transitions for the issue.
* `operations` Returns all possible operations for the issue.
* `editmeta` Returns information about how each field can be edited.
* `changelog` Returns a list of recent updates to an issue, sorted by date, starting from the most recent.
* `versionedRepresentations` Instead of `fields`, returns `versionedRepresentations` a JSON array containing each version of a field's value, with the highest numbered item representing the most recent version.

Examples: `"names,changelog"` Returns the display name of each field as well as a list of recent updates to an issue.
fieldsarrayOptionalA list of fields to return for each issue. Use it to retrieve a subset of fields. This parameter accepts a comma-separated list. Expand options include:

* `*all` Returns all fields.
* `*navigable` Returns navigable fields.
* `id` Returns only issue IDs.
* Any issue field, prefixed with a dash to exclude.

The default is `id`.

Examples:

* `summary,comment` Returns the summary and comments fields only.
* `*all,-comment` Returns all fields except comments.

Multiple `fields` parameters can be included in a request.

Note: By default, this resource returns IDs only. This differs from [GET issue](#api-rest-api-3-issue-issueIdOrKey-get) where the default is all fields.
fields[]stringEach item
fieldsByKeysbooleanOptionalReference fields by their key (rather than ID). The default is `false`.
includeArchivedProjectsbooleanOptionalWhether to also return issues that belong to archived projects. Archived projects are excluded by default. Requires *Browse projects* permission on the archived project. The default is `false`.
jqlstringOptionalA [JQL](https://confluence.atlassian.com/x/egORLQ) expression. For performance reasons, this parameter requires a bounded query. A bounded query is a query with a search restriction.

* Example of an unbounded query: `order by key desc`.
* Example of a bounded query: `assignee = currentUser() order by key`.

Additionally, `orderBy` clause can contain a maximum of 7 fields.
maxResultsintegerOptionalThe maximum number of items to return per page. To manage page size, API may return fewer items per page where a large number of fields are requested. The greatest number of items returned per page is achieved when requesting `id` or `key` only. It returns max 5000 issues.
Default: 50
Format: int32
nextPageTokenstringOptionalThe token for a page to fetch that is not the first page. The first page has a `nextPageToken` of `null`. Use the `nextPageToken` to fetch the next page of issues.
propertiesarrayOptionalA list of up to 5 issue properties to include in the results. This parameter accepts a comma-separated list.
properties[]stringEach item
reconcileIssuesarrayOptionalStrong consistency issue ids to be reconciled with search results. Accepts max 50 ids. This list of ids should be consistent with each paginated request across different pages.
reconcileIssues[]integerEach itemFormat: int64

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.