...
Property Name | Required | Description | |||||
---|---|---|---|---|---|---|---|
Code | Yes | Work item field code. Uniquely identifies the field. | |||||
Display Name | No | Work item display name. | |||||
Description | No | Work item description. | |||||
Work Item Types | Yes | The work item types this field will apply to. In other words, if a field is assigned the “Feature” Work Item Type, then all Work Items of type “Feature” will display that field. One or more Work Item Types can be set. | |||||
Field Group | Yes | Work item field group. The group which contains the current field. The field group name will appear as a section on the work item. | |||||
Field Data Type | Yes | Work item field data type sets the visual format of the field on UI along with simple validation. For more complex validation see “Validation Script”. The following data types are supported:
Example of how each input would display on the work item | |||||
Definition Script | No | Work item definition script. This is a groovy script to set various values like defaults or basic validations. Example Definition script to set default value for the property based on work item type:
| |||||
List Data Script | No | Work item list data script. This is a groovy script which defines a set of options the user can choose from for this fields value. List Data Script will only apply to String based fields i.e. TextField and not DateTime. The script is expecting one of 3 return types:
| |||||
Validation Script | No | Work item validation script. This is a groovy script allowing for more complex validations beyond simple UI validations like isRequired or min/max value. Example Date based Validation script:
This script is executed when the status of a work item is changed. Status change will not go through if the validation script fails. |
...