Newer
Older
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
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
#
# Custom (dynamic) lists. This data is used as the initial,
# minimal data for dynamic list that ships with the system.
#
# Fields:
# id: Primary id (not recommended)
# name: Name of the list
# name_plural: Name in plural (optional)
# sort_mode: Sorting order (Alpha, -Alpha, SortCol)
# masks: Edit masks to indicate various statuses of the list
# (e.g if editable or deletable..etc)
# notes: Notes for the list
# items: List of items for the list
# id: Primary id
# value: Value (name) of the list item
# extra: Abbreviated version of the value
# status: If enabled (1 - enabled, 0 - disabled)
# sort: Sort order (optional)
# properties: Item-specific config based on Ticket Flags form fields
# (key): (value)
# properties: List properties form (see form.yaml for details)
#
---
# Ticket statuses
- type: ticket-status #notrans
name: Ticket Status
name_plural: Ticket Statuses
sort_mode: SortCol # notrans
masks: 13
notes: |
Ticket statuses
properties:
title: Ticket Status Properties
instructions: Properties that can be set on a ticket status.
deletable: false
fields:
- type: state # notrans
name: state # notrans
label: State
required: true
sort: 1
edit_mask: 63
configuration:
prompt: State of a ticket
- type: flags # notrans
name: flags # notrans
label: Flags
required: false
sort: 2
edit_mask: 63
configuration:
prompt: Ticket Flags
multiselect: true
- type: memo # notrans
name: description # notrans
label: Description
required: false
sort: 3
edit_mask: 15
configuration:
rows: 2
cols: 40
html: false
length: 100
configuration:
handler: TicketStatusList
# Ticket flags
- type: ticket-flag # notrans
name: Ticket Flag
name_plural: Ticket Flags
sort_mode: Alpha # notrans
masks: 15
notes: |
Flags that can be set on tickets
properties:
title: Flag Properties
instructions: Properties that can be set on a flag.
deletable: false
fields:
- type: state # notrans
name: states # notrans
label: Allowed States
required: true
sort: 1
edit_mask: 63
configuration:
prompt: Allowed Ticket States
multiselect: true
- type: memo # notrans
name: description # notrans
label: Description
required: false
sort: 2
edit_mask: 15
configuration:
rows: 2
cols: 40
html: false
length: 100
items: # Note that id doubles as a bit mask for the flag (must be preset)
- id: 1 # notrans
value: Answered
extra: answered
status: 3
sort: 1
configuration:
states:
open: Open
description:|
Marked as Answered
- id: 2 # notrans
value: Onhold
extra: onhold
status: 3
sort: 2
configuration:
states:
open: Open
description:|
Put on hold
- id: 4 # notrans
value: Overdue
extra: overdue
status: 3
sort: 3
configuration:
states:
open: Open
description:|
Marked overdue