Profile to test the feature "Dynamic items list" in trackers. Thanks to joonhyun for creating the show.t.o instance for
https://dev.tiki.org/item4896, where this profile was created from.
Products Tracker
YAML
preferences:
feature_trackers: y
trackerfield_autoincrement: y
trackerfield_itemlink: y
trackerfield_itemslist: y
trackerfield_dynamiclist: y
objects:
-
type: tracker
ref: products
data:
name: Products
description:
restrict_end: 0
section_format: flat
restrict_start: 0
-
type: tracker_field
ref: products_name
data:
name: Name
permname: name
tracker: $Dynamic_items_list:products
options:
options:
- Oracle Database
- IBM DB2
- Oracle WebLogic Server
- Microsoft IIS
- PostgreSQL
type: dropdown
order: 10
flags:
- link
- public
- mandatory
-
type: tracker_field
ref: products_version
data:
name: Version
permname: version
tracker: $Dynamic_items_list:products
options:
samerow: 1
type: text_field
order: 20
flags:
- public
-
type: tracker_option
ref: products_sort_default_field
data:
tracker: $Dynamic_items_list:products
name: sort_default_field
value: modification
Objects in Products Tracker
YAML
objects:
-
type: tracker_item
ref: product_001
data:
tracker: $Dynamic_items_list:products
status: open
values:
- [ $Dynamic_items_list:products_name, "Oracle Database" ]
- [ $Dynamic_items_list:products_version, 10.2.0.5 ]
-
type: tracker_item
ref: product_002
data:
tracker: $Dynamic_items_list:products
status: open
values:
- [ $Dynamic_items_list:products_name, "IBM DB2" ]
- [ $Dynamic_items_list:products_version, 7.3 ]
-
type: tracker_item
ref: product_003
data:
tracker: $Dynamic_items_list:products
status: open
values:
- [ $Dynamic_items_list:products_name, "Oracle Database" ]
- [ $Dynamic_items_list:products_version, 9.2.0.8 ]
-
type: tracker_item
ref: product_004
data:
tracker: $Dynamic_items_list:products
status: open
values:
- [ $Dynamic_items_list:products_name, PostgreSQL ]
- [ $Dynamic_items_list:products_version, 9.3.1 ]
-
type: tracker_item
ref: product_005
data:
tracker: $Dynamic_items_list:products
status: open
values:
- [ $Dynamic_items_list:products_name, "Oracle WebLogic Server" ]
- [ $Dynamic_items_list:products_version, 10.3.5 ]
Service Tracker
YAML
objects:
-
type: tracker
ref: service
data:
name: Service
description:
restrict_end: 0
section_format: flat
restrict_start: 0
-
type: tracker_field
ref: service_productName
data:
name: Product Name
permname: productName
tracker: $Dynamic_items_list:service
options:
trackerId: $Dynamic_items_list:products
fieldId: $Dynamic_items_list:products_name
linkToItem: 1
status: opc
preSelectFieldMethod: exact
displayOneItem: one
type: item_link
order: 10
flags:
- link
- searchable
- public
- mandatory
-
type: tracker_field
ref: service_productVersion
data:
name: Product Version
permname: productVersion
tracker: $Dynamic_items_list:service
options:
trackerId: $Dynamic_items_list:products
filterFieldIdThere: $Dynamic_items_list:products_name
filterFieldIdHere: $Dynamic_items_list:service_productName
listFieldIdThere: $Dynamic_items_list:products_version
statusThere: opc
type: item_list_dynamic
order: 20
flags:
- link
- public
-
type: tracker_field
ref: service_serviceName
data:
name: Service Name
permname: serviceName
tracker: $Dynamic_items_list:service
options:
samerow: 1
type: text_field
order: 30
flags:
- public
-
type: tracker_option
ref: service_sort_default_field
data:
tracker: $Dynamic_items_list:service
name: sort_default_field
value: modification
Objects in Service Tracker
YAML
objects:
-
type: tracker_item
ref: service_001
data:
tracker: $Dynamic_items_list:service
status: open
values:
- [ $Dynamic_items_list:service_productName, "Oracle Database" ]
- [ $Dynamic_items_list:service_productVersion, 10.2.0.5 ]
- [ $Dynamic_items_list:service_serviceName, ERP ]
-
type: tracker_item
ref: service_002
data:
tracker: $Dynamic_items_list:service
status: open
values:
- [ $Dynamic_items_list:service_productName, PostgreSQL ]
- [ $Dynamic_items_list:service_productVersion, 9.3.1 ]
- [ $Dynamic_items_list:service_serviceName, DRDB ]
Alias names for this page:
Dynamic item list |
Dynamic items list |
Dynamic_item_list |
Dynamic_items_lists