/
RuleCondition.yml
58 lines (58 loc) · 2.16 KB
/
RuleCondition.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
### YamlMime:TSType
name: RuleCondition
uid: azure-devops-extension-api.RuleCondition
package: azure-devops-extension-api
summary: Defines a condition on a field when the rule should be triggered.
fullName: RuleCondition
remarks: ''
isDeprecated: false
type: interface
properties:
- name: conditionType
uid: azure-devops-extension-api.RuleCondition.conditionType
package: azure-devops-extension-api
summary: >-
Type of condition. $When. This condition limits the execution of its
children to cases when another field has a particular value, i.e. when the
Is value of the referenced field is equal to the given literal value.
$WhenNot.This condition limits the execution of its children to cases when
another field does not have a particular value, i.e.when the Is value of
the referenced field is not equal to the given literal value.
$WhenChanged.This condition limits the execution of its children to cases
when another field has changed, i.e.when the Is value of the referenced
field is not equal to the Was value of that field. $WhenNotChanged.This
condition limits the execution of its children to cases when another field
has not changed, i.e.when the Is value of the referenced field is equal to
the Was value of that field.
fullName: conditionType
remarks: ''
isDeprecated: false
syntax:
content: 'conditionType: RuleConditionType'
return:
description: ''
type: <xref uid="azure-devops-extension-api.RuleConditionType" />
- name: field
uid: azure-devops-extension-api.RuleCondition.field
package: azure-devops-extension-api
summary: Field that defines condition.
fullName: field
remarks: ''
isDeprecated: false
syntax:
content: 'field: string'
return:
description: ''
type: string
- name: value
uid: azure-devops-extension-api.RuleCondition.value
package: azure-devops-extension-api
summary: Value of field to define the condition for rule.
fullName: value
remarks: ''
isDeprecated: false
syntax:
content: 'value: string'
return:
description: ''
type: string