Condition that triggers the watch action. The fields that are set depend on kind: OCCURRENCES uses threshold, CARDINALITY uses threshold and projection, ELAPSED_TIME uses duration, and ANY and ALL use operands.

Hierarchy

  • IssueWatchCondition

Constructors

Properties

additionalProperties?: {
    [key: string]: any;
}

A container for additional, undeclared properties. This is a holder for any undeclared properties as specified with the 'additionalProperties' keyword in the OAS document.

Type declaration

  • [key: string]: any
duration?: string

Time that must elapse from when the watch started, as a Go duration string, such as 24h, or 168h for a week.

Kind of watch condition.

operands?: IssueWatchCondition[]

Nested conditions combined by ANY or ALL.

projection?: string[]

Attributes whose distinct values CARDINALITY counts, in search syntax: @ for attributes, such as @usr.id or @account.id, and no prefix for tags and reserved fields, such as org_id or service. Only use attributes that the issue's errors carry: a condition on an attribute they don't carry is never met.

threshold?: number

Number of new occurrences, or of distinct values for CARDINALITY, that meets the condition, counted from when the watch started.

Generated using TypeDoc