Skip to content

Atlassian: Jql schemas

37 Atlassian schemas with complete fields and constraints.

← Jql operations · All schemas

Convert user identifiers to account I Ds in JQL queries — request body — body

FieldTypePresenceDescription and constraints
$objectRootThe JQL queries to be converted.
Additional keys: not allowed
queryStringsarrayOptionalA list of queries with user identifiers. Maximum of 100 queries.
queryStrings[]stringEach item

Convert user identifiers to account I Ds in JQL queries — response body

FieldTypePresenceDescription and constraints
$objectRootThe converted JQL queries.
queriesWithUnknownUsersJSONOptional
queriesWithUnknownUsers (anyOf 1)arrayAlternativeList of queries containing user information that could not be mapped to an existing user
queriesWithUnknownUsers (anyOf 1)[]ModelEach itemExpand Convert user identifiers to account I Ds in JQL queries — response body — queries With Unknown Users array item
queriesWithUnknownUsers (anyOf 2)nullAlternative
queryStringsJSONOptional
queryStrings (anyOf 1)arrayAlternativeThe list of converted query strings with account IDs in place of user identifiers.
queryStrings (anyOf 1)[]stringEach item
queryStrings (anyOf 2)nullAlternative

Referenced models: Convert user identifiers to account I Ds in JQL queries — response body — queries With Unknown Users array item

Convert user identifiers to account I Ds in JQL queries — response body — queries With Unknown Users array item

FieldTypePresenceDescription and constraints
$objectRootJQL queries that contained users that could not be found
convertedQueryJSONOptional
convertedQuery (anyOf 1)stringAlternativeThe converted query, with accountIDs instead of user identifiers, or 'unknown' for users that could not be found
convertedQuery (anyOf 2)nullAlternative
originalQueryJSONOptional
originalQuery (anyOf 1)stringAlternativeThe original query, for reference
originalQuery (anyOf 2)nullAlternative

Get field auto complete suggestions — response body

FieldTypePresenceDescription and constraints
$objectRootThe results from a JQL query.
resultsJSONOptional
results (anyOf 1)arrayAlternativeThe list of suggested item.
results (anyOf 1)[]ModelEach itemExpand Get field auto complete suggestions — response body — results The list of suggested item item
results (anyOf 2)nullAlternative

Referenced models: Get field auto complete suggestions — response body — results The list of suggested item item

Get field auto complete suggestions — response body — results The list of suggested item item

FieldTypePresenceDescription and constraints
$objectRootA field auto-complete suggestion.
displayNameJSONOptional
displayName (anyOf 1)stringAlternativeThe display name of a suggested item. If `fieldValue` or `predicateValue` are provided, the matching text is highlighted with the HTML bold tag.
displayName (anyOf 2)nullAlternative
valueJSONOptional
value (anyOf 1)stringAlternativeThe value of a suggested item.
value (anyOf 2)nullAlternative

Get field reference data (GET) — response body

FieldTypePresenceDescription and constraints
$objectRootLists of JQL reference data.
jqlReservedWordsJSONOptional
jqlReservedWords (anyOf 1)arrayAlternativeList of JQL query reserved words.
jqlReservedWords (anyOf 1)[]stringEach item
jqlReservedWords (anyOf 2)nullAlternative
visibleFieldNamesJSONOptional
visibleFieldNames (anyOf 1)arrayAlternativeList of fields usable in JQL queries.
visibleFieldNames (anyOf 1)[]ModelEach itemExpand Get field reference data (GET) — response body — visible Field Names List of fields usable in JQL queries item
visibleFieldNames (anyOf 2)nullAlternative
visibleFunctionNamesJSONOptional
visibleFunctionNames (anyOf 1)arrayAlternativeList of functions usable in JQL queries.
visibleFunctionNames (anyOf 1)[]ModelEach itemExpand Get field reference data (GET) — response body — visible Function Names List of functions usable in JQL queries item
visibleFunctionNames (anyOf 2)nullAlternative

Referenced models: Get field reference data (GET) — response body — visible Field Names List of fields usable in JQL queries item, Get field reference data (GET) — response body — visible Function Names List of functions usable in JQL queries item

Get field reference data (GET) — response body — visible Field Names List of fields usable in JQL queries item

FieldTypePresenceDescription and constraints
$objectRootDetails of a field that can be used in advanced searches.
autoJSONOptional
auto (anyOf 1)stringAlternativeWhether the field provide auto-complete suggestions.
Known values: true, false
auto (anyOf 2)nullAlternative
cfidJSONOptional
cfid (anyOf 1)stringAlternativeIf the item is a custom field, the ID of the custom field.
cfid (anyOf 2)nullAlternative
deprecatedJSONOptional
deprecated (anyOf 1)stringAlternativeWhether this field has been deprecated.
Known values: true, false
deprecated (anyOf 2)nullAlternative
deprecatedSearcherKeyJSONOptional
deprecatedSearcherKey (anyOf 1)stringAlternativeThe searcher key of the field, only passed when the field is deprecated.
deprecatedSearcherKey (anyOf 2)nullAlternative
displayNameJSONOptional
displayName (anyOf 1)stringAlternativeThe display name contains the following:

* for system fields, the field name. For example, `Summary`.
* for collapsed custom fields, the field name followed by a hyphen and then the field name and field type. For example, `Component - Component[Dropdown]`.
* for other custom fields, the field name followed by a hyphen and then the custom field ID. For example, `Component - cf[10061]`.
displayName (anyOf 2)nullAlternative
operatorsJSONOptional
operators (anyOf 1)arrayAlternativeThe valid search operators for the field.
operators (anyOf 1)[]stringEach item
operators (anyOf 2)nullAlternative
orderableJSONOptional
orderable (anyOf 1)stringAlternativeWhether the field can be used in a query's `ORDER BY` clause.
Known values: true, false
orderable (anyOf 2)nullAlternative
searchableJSONOptional
searchable (anyOf 1)stringAlternativeWhether the content of this field can be searched.
Known values: true, false
searchable (anyOf 2)nullAlternative
typesJSONOptional
types (anyOf 1)arrayAlternativeThe data types of items in the field.
types (anyOf 1)[]stringEach item
types (anyOf 2)nullAlternative
valueJSONOptional
value (anyOf 1)stringAlternativeThe field identifier.
value (anyOf 2)nullAlternative

Get field reference data (GET) — response body — visible Function Names List of functions usable in JQL queries item

FieldTypePresenceDescription and constraints
$objectRootDetails of functions that can be used in advanced searches.
displayNameJSONOptional
displayName (anyOf 1)stringAlternativeThe display name of the function.
displayName (anyOf 2)nullAlternative
isListJSONOptional
isList (anyOf 1)stringAlternativeWhether the function can take a list of arguments.
Known values: true, false
isList (anyOf 2)nullAlternative
supportsListAndSingleValueOperatorsJSONOptional
supportsListAndSingleValueOperators (anyOf 1)stringAlternativeWhether the function supports both single and list value operators.
Known values: true, false
supportsListAndSingleValueOperators (anyOf 2)nullAlternative
typesJSONOptional
types (anyOf 1)arrayAlternativeThe data types returned by the function.
types (anyOf 1)[]stringEach item
types (anyOf 2)nullAlternative
valueJSONOptional
value (anyOf 1)stringAlternativeThe function identifier.
value (anyOf 2)nullAlternative

Get field reference data (POST) — request body — body

FieldTypePresenceDescription and constraints
$objectRootDetails of how to filter and list search auto complete information.
Additional keys: not allowed
includeCollapsedFieldsbooleanOptionalInclude collapsed fields for fields that have non-unique names.
Default: false
projectIdsarrayOptionalList of project IDs used to filter the visible field details returned.
projectIds[]integerEach itemFormat: int64

Get invalid JQL searches — response body

FieldTypePresenceDescription and constraints
$objectRoot
entriesJSONOptional
entries (anyOf 1)arrayAlternative
entries (anyOf 1)[]ModelEach itemExpand Get invalid JQL searches — response body — entries array item
entries (anyOf 2)nullAlternative
isLastJSONOptional
isLast (anyOf 1)booleanAlternative
isLast (anyOf 2)nullAlternative
nextPageTokenJSONOptional
nextPageToken (anyOf 1)stringAlternative
nextPageToken (anyOf 2)nullAlternative
nextPageURLJSONOptional
nextPageURL (anyOf 1)stringAlternative
nextPageURL (anyOf 2)nullAlternative

Referenced models: Get invalid JQL searches — response body — entries array item

Get invalid JQL searches — response body — entries array item

FieldTypePresenceDescription and constraints
$objectRoot
callerJSONOptional
caller (anyOf 1)stringAlternative
caller (anyOf 2)nullAlternative
createdAtJSONOptional
createdAt (anyOf 1)stringAlternative
createdAt (anyOf 2)nullAlternative
filterIdJSONOptional
filterId (anyOf 1)stringAlternative
filterId (anyOf 2)nullAlternative
jqlJSONOptional
jql (anyOf 1)stringAlternative
jql (anyOf 2)nullAlternative
requestUrlJSONOptional
requestUrl (anyOf 1)stringAlternative
requestUrl (anyOf 2)nullAlternative
userJSONOptional
user (anyOf 1)ModelAlternativeExpand Get invalid JQL searches — response body — entries array item user account Id, active, avatar Urls, display Name, key, name, self
user (anyOf 2)nullAlternative
userAgentJSONOptional
userAgent (anyOf 1)stringAlternative
userAgent (anyOf 2)nullAlternative
validationMessageJSONOptional
validationMessage (anyOf 1)stringAlternative
validationMessage (anyOf 2)nullAlternative

Referenced models: Get invalid JQL searches — response body — entries array item user account Id, active, avatar Urls, display Name, key, name, self

Get invalid JQL searches — response body — entries array item user account Id, active, avatar Urls, display Name, key, name, self

FieldTypePresenceDescription and constraints
$objectRoot
accountIdJSONOptional
accountId (anyOf 1)stringAlternative
accountId (anyOf 2)nullAlternative
activeJSONOptional
active (anyOf 1)booleanAlternative
active (anyOf 2)nullAlternative
avatarUrlsJSONOptional
avatarUrls (anyOf 1)ModelAlternativeExpand Get invalid JQL searches — response body — entries array item user account Id, active, avatar Urls, display Name, key, name, self avatar Urls 16x16, 24x24, 32x32, 48x48
avatarUrls (anyOf 2)nullAlternative
displayNameJSONOptional
displayName (anyOf 1)stringAlternative
displayName (anyOf 2)nullAlternative
keyJSONOptional
key (anyOf 1)stringAlternative
key (anyOf 2)nullAlternative
nameJSONOptional
name (anyOf 1)stringAlternative
name (anyOf 2)nullAlternative
selfJSONOptional
self (anyOf 1)stringAlternativeFormat: uri
self (anyOf 2)nullAlternative

Referenced models: Get invalid JQL searches — response body — entries array item user account Id, active, avatar Urls, display Name, key, name, self avatar Urls 16x16, 24x24, 32x32, 48x48

Get invalid JQL searches — response body — entries array item user account Id, active, avatar Urls, display Name, key, name, self avatar Urls 16x16, 24x24, 32x32, 48x48

FieldTypePresenceDescription and constraints
$objectRoot
16x16JSONOptional
16x16 (anyOf 1)stringAlternativeFormat: uri
16x16 (anyOf 2)nullAlternative
24x24JSONOptional
24x24 (anyOf 1)stringAlternativeFormat: uri
24x24 (anyOf 2)nullAlternative
32x32JSONOptional
32x32 (anyOf 1)stringAlternativeFormat: uri
32x32 (anyOf 2)nullAlternative
48x48JSONOptional
48x48 (anyOf 1)stringAlternativeFormat: uri
48x48 (anyOf 2)nullAlternative

Parse JQL query — request body — body

FieldTypePresenceDescription and constraints
$objectRootA list of JQL queries to parse.
write Only: true
Additional keys: not allowed
queriesarrayRequired within parentA list of queries to parse.
Minimum length: 1
queries[]stringEach itemMinimum length: 1

Parse JQL query — response body

FieldTypePresenceDescription and constraints
$objectRootA list of parsed JQL queries.
queriesJSONOptional
queries (anyOf 1)arrayAlternativeA list of parsed JQL queries.
Minimum length: 1
queries (anyOf 1)[]ModelEach itemExpand Parse JQL query — response body — queries A list of parsed JQL queries item
queries (anyOf 2)nullAlternative

Referenced models: Parse JQL query — response body — queries A list of parsed JQL queries item

Parse JQL query — response body — queries A list of parsed JQL queries item

FieldTypePresenceDescription and constraints
$objectRootDetails of a parsed JQL query.
Minimum length: 1
errorsJSONOptional
errors (anyOf 1)arrayAlternativeThe list of syntax or validation errors.
Unique items: true
errors (anyOf 1)[]stringEach item
errors (anyOf 2)nullAlternative
queryJSONOptional
query (anyOf 1)stringAlternativeThe JQL query that was parsed and validated.
query (anyOf 2)nullAlternative
structureJSONOptional
structure (anyOf 1)ModelAlternativeExpand Parse JQL query — response body — queries A list of parsed JQL queries item structure A parsed JQL query
The syntax tree of the query. Empty if the query was invalid.
structure (anyOf 2)nullAlternative
warningsJSONOptional
warnings (anyOf 1)arrayAlternativeThe list of warning messages
Unique items: true
warnings (anyOf 1)[]stringEach item
warnings (anyOf 2)nullAlternative

Referenced models: Parse JQL query — response body — queries A list of parsed JQL queries item structure A parsed JQL query

Parse JQL query — response body — queries A list of parsed JQL queries item structure A parsed JQL query

FieldTypePresenceDescription and constraints
$objectRootA parsed JQL query.
orderByJSONOptional
orderBy (anyOf 1)ModelAlternativeExpand Parse JQL query — response body — queries A list of parsed JQL queries item structure A parsed JQL query order By Details of the order-by JQL clause
orderBy (anyOf 2)nullAlternative
whereJSONOptional
where (anyOf 1)ModelAlternativeExpand Parse JQL query — response body — queries A list of parsed JQL queries item structure A parsed JQL query where A JQL query clause
where (anyOf 2)nullAlternative

Referenced models: Parse JQL query — response body — queries A list of parsed JQL queries item structure A parsed JQL query where A JQL query clause, Parse JQL query — response body — queries A list of parsed JQL queries item structure A parsed JQL query order By Details of the order-by JQL clause

Parse JQL query — response body — queries A list of parsed JQL queries item structure A parsed JQL query order By Details of the order-by JQL clause

FieldTypePresenceDescription and constraints
$objectRootDetails of the order-by JQL clause.
fieldsJSONOptional
fields (anyOf 1)arrayAlternativeThe list of order-by clause fields and their ordering directives.
fields (anyOf 1)[]ModelEach itemExpand Parse JQL query — response body — queries A list of parsed JQL queries item structure A parsed JQL query order By Details of the order-by JQL clause fields array item
fields (anyOf 2)nullAlternative

Referenced models: Parse JQL query — response body — queries A list of parsed JQL queries item structure A parsed JQL query order By Details of the order-by JQL clause fields array item

Parse JQL query — response body — queries A list of parsed JQL queries item structure A parsed JQL query order By Details of the order-by JQL clause fields array item

FieldTypePresenceDescription and constraints
$objectRootAn element of the order-by JQL clause.
directionJSONOptional
direction (anyOf 1)stringAlternativeThe direction in which to order the results.
Known values: asc, desc
direction (anyOf 2)nullAlternative
fieldJSONOptional
field (anyOf 1)ModelAlternativeExpand Parse JQL query — response body — queries A list of parsed JQL queries item structure A parsed JQL query where A JQL query clause field, operand, operator field encoded Name, name, property
field (anyOf 2)nullAlternative

Referenced models: Parse JQL query — response body — queries A list of parsed JQL queries item structure A parsed JQL query where A JQL query clause field, operand, operator field encoded Name, name, property

Parse JQL query — response body — queries A list of parsed JQL queries item structure A parsed JQL query where A JQL query clause

FieldTypePresenceDescription and constraints
$objectRootA JQL query clause.
$ (anyOf 1)ModelAlternativeExpand Parse JQL query — response body — queries A list of parsed JQL queries item structure A parsed JQL query where A JQL query clause clauses, operator
$ (anyOf 2)ModelAlternativeExpand Parse JQL query — response body — queries A list of parsed JQL queries item structure A parsed JQL query where A JQL query clause field, operand, operator
$ (anyOf 3)ModelAlternativeExpand Parse JQL query — response body — queries A list of parsed JQL queries item structure A parsed JQL query where A JQL query clause field, operand, operator, predicates
$ (anyOf 4)ModelAlternativeExpand Parse JQL query — response body — queries A list of parsed JQL queries item structure A parsed JQL query where A JQL query clause field, operator, predicates

Referenced models: Parse JQL query — response body — queries A list of parsed JQL queries item structure A parsed JQL query where A JQL query clause clauses, operator, Parse JQL query — response body — queries A list of parsed JQL queries item structure A parsed JQL query where A JQL query clause field, operator, predicates, Parse JQL query — response body — queries A list of parsed JQL queries item structure A parsed JQL query where A JQL query clause field, operand, operator, Parse JQL query — response body — queries A list of parsed JQL queries item structure A parsed JQL query where A JQL query clause field, operand, operator, predicates

Parse JQL query — response body — queries A list of parsed JQL queries item structure A parsed JQL query where A JQL query clause clauses, operator

FieldTypePresenceDescription and constraints
$objectRootA JQL query clause that consists of nested clauses. For example, `(labels in (urgent, blocker) OR lastCommentedBy = currentUser()). Note that, where nesting is not defined, the parser nests JQL clauses based on the operator precedence. For example, "A OR B AND C" is parsed as "(A OR B) AND C". See Setting the precedence of operators for more information about precedence in JQL queries.`
clausesJSONOptional
clauses (anyOf 1)arrayAlternativeThe list of nested clauses.
clauses (anyOf 1)[]ModelEach itemExpand Parse JQL query — response body — queries A list of parsed JQL queries item structure A parsed JQL query where A JQL query clause
clauses (anyOf 2)nullAlternative
operatorJSONOptional
operator (anyOf 1)stringAlternativeThe operator between the clauses.
Known values: and, or, not
operator (anyOf 2)nullAlternative

Referenced models: Parse JQL query — response body — queries A list of parsed JQL queries item structure A parsed JQL query where A JQL query clause

Parse JQL query — response body — queries A list of parsed JQL queries item structure A parsed JQL query where A JQL query clause field, operand, operator

FieldTypePresenceDescription and constraints
$objectRootA clause that asserts the current value of a field. For example, `summary ~ test`.
fieldJSONOptional
field (anyOf 1)ModelAlternativeExpand Parse JQL query — response body — queries A list of parsed JQL queries item structure A parsed JQL query where A JQL query clause field, operand, operator field encoded Name, name, property
field (anyOf 2)nullAlternative
operandJSONOptional
operand (anyOf 1)ModelAlternativeExpand Parse JQL query — response body — queries A list of parsed JQL queries item structure A parsed JQL query where A JQL query clause field, operand, operator operand Details of an operand in a JQL clause
operand (anyOf 2)nullAlternative
operatorJSONOptional
operator (anyOf 1)stringAlternativeThe operator between the field and operand.
Known values: =, !=, >, <, >=, <=, in, not in, ~, ~=, is, is not
operator (anyOf 2)nullAlternative

Referenced models: Parse JQL query — response body — queries A list of parsed JQL queries item structure A parsed JQL query where A JQL query clause field, operand, operator operand Details of an operand in a JQL clause, Parse JQL query — response body — queries A list of parsed JQL queries item structure A parsed JQL query where A JQL query clause field, operand, operator field encoded Name, name, property

Parse JQL query — response body — queries A list of parsed JQL queries item structure A parsed JQL query where A JQL query clause field, operand, operator field encoded Name, name, property

FieldTypePresenceDescription and constraints
$objectRootA field used in a JQL query. See [Advanced searching - fields reference](https://confluence.atlassian.com/x/dAiiLQ) for more information about fields in JQL queries.
encodedNameJSONOptional
encodedName (anyOf 1)stringAlternativeThe encoded name of the field, which can be used directly in a JQL query.
encodedName (anyOf 2)nullAlternative
nameJSONOptional
name (anyOf 1)stringAlternativeThe name of the field.
name (anyOf 2)nullAlternative
propertyJSONOptional
property (anyOf 1)arrayAlternativeWhen the field refers to a value in an entity property, details of the entity property value.
property (anyOf 1)[]ModelEach itemExpand Parse JQL query — response body — queries A list of parsed JQL queries item structure A parsed JQL query where A JQL query clause field, operand, operator field encoded Name, name, property property array item
property (anyOf 2)nullAlternative

Referenced models: Parse JQL query — response body — queries A list of parsed JQL queries item structure A parsed JQL query where A JQL query clause field, operand, operator field encoded Name, name, property property array item

Parse JQL query — response body — queries A list of parsed JQL queries item structure A parsed JQL query where A JQL query clause field, operand, operator field encoded Name, name, property property array item

FieldTypePresenceDescription and constraints
$objectRootDetails of an entity property.
entityJSONOptional
entity (anyOf 1)stringAlternativeThe object on which the property is set.
entity (anyOf 2)nullAlternative
keyJSONOptional
key (anyOf 1)stringAlternativeThe key of the property.
key (anyOf 2)nullAlternative
pathJSONOptional
path (anyOf 1)stringAlternativeThe path in the property value to query.
path (anyOf 2)nullAlternative
typeJSONOptional
type (anyOf 1)stringAlternativeThe type of the property value extraction. Not available if the extraction for the property is not registered on the instance with the [Entity property](https://developer.atlassian.com/cloud/jira/platform/modules/entity-property/) module.
Known values: number, string, text, date, user
type (anyOf 2)nullAlternative

Parse JQL query — response body — queries A list of parsed JQL queries item structure A parsed JQL query where A JQL query clause field, operand, operator operand Details of an operand in a JQL clause

FieldTypePresenceDescription and constraints
$objectRootDetails of an operand in a JQL clause.
$ (anyOf 1)ModelAlternativeExpand Parse JQL query — response body — queries A list of parsed JQL queries item structure A parsed JQL query where A JQL query clause field, operand, operator operand Details of an operand in a JQL clause An operand that is a list of values
$ (anyOf 2)ModelAlternativeExpand Parse JQL query — response body — queries A list of parsed JQL queries item structure A parsed JQL query where A JQL query clause field, operand, operator operand Details of an operand in a JQL clause An operand that is a user-provided value
$ (anyOf 3)ModelAlternativeExpand Parse JQL query — response body — queries A list of parsed JQL queries item structure A parsed JQL query where A JQL query clause field, operand, operator operand Details of an operand in a JQL clause arguments, encoded Operand, function
$ (anyOf 4)ModelAlternativeExpand Parse JQL query — response body — queries A list of parsed JQL queries item structure A parsed JQL query where A JQL query clause field, operand, operator operand Details of an operand in a JQL clause keyword

Referenced models: Parse JQL query — response body — queries A list of parsed JQL queries item structure A parsed JQL query where A JQL query clause field, operand, operator operand Details of an operand in a JQL clause arguments, encoded Operand, function, Parse JQL query — response body — queries A list of parsed JQL queries item structure A parsed JQL query where A JQL query clause field, operand, operator operand Details of an operand in a JQL clause keyword, Parse JQL query — response body — queries A list of parsed JQL queries item structure A parsed JQL query where A JQL query clause field, operand, operator operand Details of an operand in a JQL clause An operand that is a list of values, Parse JQL query — response body — queries A list of parsed JQL queries item structure A parsed JQL query where A JQL query clause field, operand, operator operand Details of an operand in a JQL clause An operand that is a user-provided value

Parse JQL query — response body — queries A list of parsed JQL queries item structure A parsed JQL query where A JQL query clause field, operand, operator operand Details of an operand in a JQL clause An operand that is a list of values

FieldTypePresenceDescription and constraints
$objectRootAn operand that is a list of values.
encodedOperandJSONOptional
encodedOperand (anyOf 1)stringAlternativeEncoded operand, which can be used directly in a JQL query.
encodedOperand (anyOf 2)nullAlternative
valuesJSONOptional
values (anyOf 1)arrayAlternativeThe list of operand values.
Minimum length: 1
values (anyOf 1)[]ModelEach itemExpand Parse JQL query — response body — queries A list of parsed JQL queries item structure A parsed JQL query where A JQL query clause field, operand, operator operand Details of an operand in a JQL clause An operand that is a list of values values The list of operand values item
values (anyOf 2)nullAlternative

Referenced models: Parse JQL query — response body — queries A list of parsed JQL queries item structure A parsed JQL query where A JQL query clause field, operand, operator operand Details of an operand in a JQL clause An operand that is a list of values values The list of operand values item

Parse JQL query — response body — queries A list of parsed JQL queries item structure A parsed JQL query where A JQL query clause field, operand, operator operand Details of an operand in a JQL clause An operand that is a list of values values The list of operand values item

FieldTypePresenceDescription and constraints
$objectRootAn operand that can be part of a list operand.
$ (anyOf 1)ModelAlternativeExpand Parse JQL query — response body — queries A list of parsed JQL queries item structure A parsed JQL query where A JQL query clause field, operand, operator operand Details of an operand in a JQL clause An operand that is a user-provided value
$ (anyOf 2)ModelAlternativeExpand Parse JQL query — response body — queries A list of parsed JQL queries item structure A parsed JQL query where A JQL query clause field, operand, operator operand Details of an operand in a JQL clause arguments, encoded Operand, function
$ (anyOf 3)ModelAlternativeExpand Parse JQL query — response body — queries A list of parsed JQL queries item structure A parsed JQL query where A JQL query clause field, operand, operator operand Details of an operand in a JQL clause keyword

Referenced models: Parse JQL query — response body — queries A list of parsed JQL queries item structure A parsed JQL query where A JQL query clause field, operand, operator operand Details of an operand in a JQL clause arguments, encoded Operand, function, Parse JQL query — response body — queries A list of parsed JQL queries item structure A parsed JQL query where A JQL query clause field, operand, operator operand Details of an operand in a JQL clause keyword, Parse JQL query — response body — queries A list of parsed JQL queries item structure A parsed JQL query where A JQL query clause field, operand, operator operand Details of an operand in a JQL clause An operand that is a user-provided value

Parse JQL query — response body — queries A list of parsed JQL queries item structure A parsed JQL query where A JQL query clause field, operand, operator operand Details of an operand in a JQL clause An operand that is a user-provided value

FieldTypePresenceDescription and constraints
$objectRootAn operand that is a user-provided value.
encodedValueJSONOptional
encodedValue (anyOf 1)stringAlternativeEncoded value, which can be used directly in a JQL query.
encodedValue (anyOf 2)nullAlternative
valueJSONOptional
value (anyOf 1)stringAlternativeThe operand value.
value (anyOf 2)nullAlternative

Parse JQL query — response body — queries A list of parsed JQL queries item structure A parsed JQL query where A JQL query clause field, operand, operator operand Details of an operand in a JQL clause arguments, encoded Operand, function

FieldTypePresenceDescription and constraints
$objectRootAn operand that is a function. See [Advanced searching - functions reference](https://confluence.atlassian.com/x/dwiiLQ) for more information about JQL functions.
argumentsJSONOptional
arguments (anyOf 1)arrayAlternativeThe list of function arguments.
arguments (anyOf 1)[]stringEach item
arguments (anyOf 2)nullAlternative
encodedOperandJSONOptional
encodedOperand (anyOf 1)stringAlternativeEncoded operand, which can be used directly in a JQL query.
encodedOperand (anyOf 2)nullAlternative
functionJSONOptional
function (anyOf 1)stringAlternativeThe name of the function.
function (anyOf 2)nullAlternative

Parse JQL query — response body — queries A list of parsed JQL queries item structure A parsed JQL query where A JQL query clause field, operand, operator operand Details of an operand in a JQL clause keyword

FieldTypePresenceDescription and constraints
$objectRootAn operand that is a JQL keyword. See [Advanced searching - keywords reference](https://confluence.atlassian.com/jiracorecloud/advanced-searching-keywords-reference-765593717.html#Advancedsearching-keywordsreference-EMPTYEMPTY) for more information about operand keywords.
keywordJSONOptional
keyword (anyOf 1)stringAlternativeThe keyword that is the operand value.
Known values: empty
keyword (anyOf 2)nullAlternative

Parse JQL query — response body — queries A list of parsed JQL queries item structure A parsed JQL query where A JQL query clause field, operand, operator, predicates

FieldTypePresenceDescription and constraints
$objectRootA clause that asserts a previous value of a field. For example, `status WAS "Resolved" BY currentUser() BEFORE "2019/02/02"`. See [WAS](https://confluence.atlassian.com/x/dgiiLQ#Advancedsearching-operatorsreference-WASWAS) for more information about the WAS operator.
fieldJSONOptional
field (anyOf 1)ModelAlternativeExpand Parse JQL query — response body — queries A list of parsed JQL queries item structure A parsed JQL query where A JQL query clause field, operand, operator field encoded Name, name, property
field (anyOf 2)nullAlternative
operandJSONOptional
operand (anyOf 1)ModelAlternativeExpand Parse JQL query — response body — queries A list of parsed JQL queries item structure A parsed JQL query where A JQL query clause field, operand, operator operand Details of an operand in a JQL clause
operand (anyOf 2)nullAlternative
operatorJSONOptional
operator (anyOf 1)stringAlternativeThe operator between the field and operand.
Known values: was, was in, was not in, was not
operator (anyOf 2)nullAlternative
predicatesJSONOptional
predicates (anyOf 1)arrayAlternativeThe list of time predicates.
predicates (anyOf 1)[]ModelEach itemExpand Parse JQL query — response body — queries A list of parsed JQL queries item structure A parsed JQL query where A JQL query clause field, operator, predicates predicates The list of time predicates item
predicates (anyOf 2)nullAlternative

Referenced models: Parse JQL query — response body — queries A list of parsed JQL queries item structure A parsed JQL query where A JQL query clause field, operand, operator operand Details of an operand in a JQL clause, Parse JQL query — response body — queries A list of parsed JQL queries item structure A parsed JQL query where A JQL query clause field, operator, predicates predicates The list of time predicates item, Parse JQL query — response body — queries A list of parsed JQL queries item structure A parsed JQL query where A JQL query clause field, operand, operator field encoded Name, name, property

Parse JQL query — response body — queries A list of parsed JQL queries item structure A parsed JQL query where A JQL query clause field, operator, predicates

FieldTypePresenceDescription and constraints
$objectRootA clause that asserts whether a field was changed. For example, `status CHANGED AFTER startOfMonth(-1M)`.See [CHANGED](https://confluence.atlassian.com/x/dgiiLQ#Advancedsearching-operatorsreference-CHANGEDCHANGED) for more information about the CHANGED operator.
fieldJSONOptional
field (anyOf 1)ModelAlternativeExpand Parse JQL query — response body — queries A list of parsed JQL queries item structure A parsed JQL query where A JQL query clause field, operand, operator field encoded Name, name, property
field (anyOf 2)nullAlternative
operatorJSONOptional
operator (anyOf 1)stringAlternativeThe operator applied to the field.
Known values: changed
operator (anyOf 2)nullAlternative
predicatesJSONOptional
predicates (anyOf 1)arrayAlternativeThe list of time predicates.
predicates (anyOf 1)[]ModelEach itemExpand Parse JQL query — response body — queries A list of parsed JQL queries item structure A parsed JQL query where A JQL query clause field, operator, predicates predicates The list of time predicates item
predicates (anyOf 2)nullAlternative

Referenced models: Parse JQL query — response body — queries A list of parsed JQL queries item structure A parsed JQL query where A JQL query clause field, operator, predicates predicates The list of time predicates item, Parse JQL query — response body — queries A list of parsed JQL queries item structure A parsed JQL query where A JQL query clause field, operand, operator field encoded Name, name, property

Parse JQL query — response body — queries A list of parsed JQL queries item structure A parsed JQL query where A JQL query clause field, operator, predicates predicates The list of time predicates item

FieldTypePresenceDescription and constraints
$objectRootA time predicate for a temporal JQL clause.
operandJSONOptional
operand (anyOf 1)ModelAlternativeExpand Parse JQL query — response body — queries A list of parsed JQL queries item structure A parsed JQL query where A JQL query clause field, operand, operator operand Details of an operand in a JQL clause
operand (anyOf 2)nullAlternative
operatorJSONOptional
operator (anyOf 1)stringAlternativeThe operator between the field and the operand.
Known values: before, after, from, to, on, during, by
operator (anyOf 2)nullAlternative

Referenced models: Parse JQL query — response body — queries A list of parsed JQL queries item structure A parsed JQL query where A JQL query clause field, operand, operator operand Details of an operand in a JQL clause

Sanitize JQL queries — request body — body

FieldTypePresenceDescription and constraints
$objectRootThe list of JQL queries to sanitize for the given account IDs.
write Only: true
Additional keys: not allowed
queriesarrayRequired within parentThe list of JQL queries to sanitize. Must contain unique values. Maximum of 20 queries.
queries[]ModelEach itemExpand Sanitize JQL queries — request body — body queries item

Referenced models: Sanitize JQL queries — request body — body queries item

Sanitize JQL queries — request body — body queries item

FieldTypePresenceDescription and constraints
$objectRootThe JQL query to sanitize for the account ID. If the account ID is null, sanitizing is performed for an anonymous user.
write Only: true
Additional keys: not allowed
accountIdJSONOptional
accountId (anyOf 1)stringAlternativeThe account ID of the user, which uniquely identifies the user across all Atlassian products. For example, *5b10ac8d82e05b22cc7d4ef5*.
Maximum length: 128
accountId (anyOf 2)nullAlternative
querystringRequired within parentThe query to sanitize.

Sanitize JQL queries — response body

FieldTypePresenceDescription and constraints
$objectRootThe sanitized JQL queries for the given account IDs.
queriesJSONOptional
queries (anyOf 1)arrayAlternativeThe list of sanitized JQL queries.
queries (anyOf 1)[]ModelEach itemExpand Sanitize JQL queries — response body — queries The list of sanitized JQL queries item
queries (anyOf 2)nullAlternative

Referenced models: Sanitize JQL queries — response body — queries The list of sanitized JQL queries item

Sanitize JQL queries — response body — queries The list of sanitized JQL queries item

FieldTypePresenceDescription and constraints
$objectRootDetails of the sanitized JQL query.
accountIdJSONOptional
accountId (anyOf 1)JSONAlternative
accountId (anyOf 1) (anyOf 1)stringAlternativeThe account ID of the user for whom sanitization was performed.
Maximum length: 128
accountId (anyOf 1) (anyOf 2)nullAlternative
accountId (anyOf 2)nullAlternative
errorsJSONOptional
errors (anyOf 1)ModelAlternativeExpand Validate project key — response body
The list of errors.
errors (anyOf 2)nullAlternative
initialQueryJSONOptional
initialQuery (anyOf 1)stringAlternativeThe initial query.
initialQuery (anyOf 2)nullAlternative
sanitizedQueryJSONOptional
sanitizedQuery (anyOf 1)JSONAlternative
sanitizedQuery (anyOf 1) (anyOf 1)stringAlternativeThe sanitized query, if there were no errors.
sanitizedQuery (anyOf 1) (anyOf 2)nullAlternative
sanitizedQuery (anyOf 2)nullAlternative

Referenced models: Validate project key — response body

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.