Documentation

Composite Condition

Composite Conditions are composed of a collection of Single Condition/Composite Conditions and a type attribute.

The type attribute defines what logical operator is used to evaluate its collection of condition elements.

The type can be one of "and" or "or"

Example

{
  "conditions": {
    "conditions": [
      {
        "or": [
          {
            "condition": "can_attach_file_to_issue",
            "invert": false
          },
          {
            "condition": "can_attach_screenshot_to_issue",
            "invert": false
          }
        ]
      },
      {
        "condition": "user_is_logged_in",
        "invert": false
      }
    ],
    "type": "and"
  }
}

Properties

conditions

type

Type
string
Allowed values
  • and
  • or