Atlassian · Schema

FieldWasClause

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

CodeCollaborationPlatformProductivitySoftware Development

Properties

Name Type Description
field object
operand object
operator string The operator between the field and operand.
predicates array The list of time predicates.
View JSON Schema on GitHub

JSON Schema

atlassian-fieldwasclause-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/FieldWasClause",
  "title": "FieldWasClause",
  "description": "A 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.",
  "properties": {
    "field": {
      "$ref": "#/components/schemas/JqlQueryField"
    },
    "operand": {
      "$ref": "#/components/schemas/JqlQueryClauseOperand"
    },
    "operator": {
      "description": "The operator between the field and operand.",
      "enum": [
        "was",
        "was in",
        "was not in",
        "was not"
      ],
      "type": "string"
    },
    "predicates": {
      "description": "The list of time predicates.",
      "items": {
        "$ref": "#/components/schemas/JqlQueryClauseTimePredicate"
      },
      "type": "array"
    }
  },
  "required": [
    "field",
    "operand",
    "operator",
    "predicates"
  ],
  "type": "object"
}