Atlassian · Schema

CompoundClause

A 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.`

CodeCollaborationPlatformProductivitySoftware Development

Properties

Name Type Description
clauses array The list of nested clauses.
operator string The operator between the clauses.
View JSON Schema on GitHub

JSON Schema

atlassian-compoundclause-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/CompoundClause",
  "title": "CompoundClause",
  "description": "A 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.`",
  "properties": {
    "clauses": {
      "description": "The list of nested clauses.",
      "items": {
        "$ref": "#/components/schemas/JqlQueryClause"
      },
      "type": "array"
    },
    "operator": {
      "description": "The operator between the clauses.",
      "enum": [
        "and",
        "or",
        "not"
      ],
      "type": "string"
    }
  },
  "required": [
    "clauses",
    "operator"
  ],
  "type": "object"
}