Atlassian · Schema

JiraExpressionEvalContextBean

CodeCollaborationPlatformProductivitySoftware Development

Properties

Name Type Description
board integer The ID of the board that is available under the `board` variable when evaluating the expression.
custom array Custom context variables and their types. These variable types are available for use in a custom context: * `user`: A [user](https://developer.atlassian.com/cloud/jira/platform/jira-expressions-type-r
customerRequest integer The ID of the customer request that is available under the `customerRequest` variable when evaluating the expression. This is the same as the ID of the underlying Jira issue, but the customer request
issue object The issue that is available under the `issue` variable when evaluating the expression.
issues object The collection of issues that is available under the `issues` variable when evaluating the expression.
project object The project that is available under the `project` variable when evaluating the expression.
serviceDesk integer The ID of the service desk that is available under the `serviceDesk` variable when evaluating the expression.
sprint integer The ID of the sprint that is available under the `sprint` variable when evaluating the expression.
View JSON Schema on GitHub

JSON Schema

atlassian-jiraexpressionevalcontextbean-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/JiraExpressionEvalContextBean",
  "title": "JiraExpressionEvalContextBean",
  "additionalProperties": false,
  "properties": {
    "board": {
      "description": "The ID of the board that is available under the `board` variable when evaluating the expression.",
      "format": "int64",
      "type": "integer"
    },
    "custom": {
      "description": "Custom context variables and their types. These variable types are available for use in a custom context:\n\n *  `user`: A [user](https://developer.atlassian.com/cloud/jira/platform/jira-expressions-type-reference#user) specified as an Atlassian account ID.\n *  `issue`: An [issue](https://developer.atlassian.com/cloud/jira/platform/jira-expressions-type-reference#issue) specified by ID or key. All the fields of the issue object are available in the Jira expression.\n *  `json`: A JSON object containing custom content.\n *  `list`: A JSON list of `user`, `issue`, or `json` variable types.",
      "items": {
        "$ref": "#/components/schemas/CustomContextVariable"
      },
      "type": "array"
    },
    "customerRequest": {
      "description": "The ID of the customer request that is available under the `customerRequest` variable when evaluating the expression. This is the same as the ID of the underlying Jira issue, but the customer request context variable will have a different type.",
      "format": "int64",
      "type": "integer"
    },
    "issue": {
      "allOf": [
        {
          "$ref": "#/components/schemas/IdOrKeyBean"
        }
      ],
      "description": "The issue that is available under the `issue` variable when evaluating the expression."
    },
    "issues": {
      "allOf": [
        {
          "$ref": "#/components/schemas/JexpIssues"
        }
      ],
      "description": "The collection of issues that is available under the `issues` variable when evaluating the expression."
    },
    "project": {
      "allOf": [
        {
          "$ref": "#/components/schemas/IdOrKeyBean"
        }
      ],
      "description": "The project that is available under the `project` variable when evaluating the expression."
    },
    "serviceDesk": {
      "description": "The ID of the service desk that is available under the `serviceDesk` variable when evaluating the expression.",
      "format": "int64",
      "type": "integer"
    },
    "sprint": {
      "description": "The ID of the sprint that is available under the `sprint` variable when evaluating the expression.",
      "format": "int64",
      "type": "integer"
    }
  },
  "type": "object"
}