Customization: Setting Test Case fields with default values
The Field defaults customization can be used to initialize arbitrary Test Case fields that are otherwise would not be updated by SpecSync to a default value. This might be useful for custom Jira process templates.
In order to enable this customization, the customizations/fieldDefaults
section of the configuration has to be enabled. The complete reference of the configuration settings can be found in the customizations configuration reference.
The following example shows a basic configuration that initializes the field MyCompany.MyCustomField
to value1
.
{
...
"customizations": {
"fieldDefaults": {
"enabled": true,
"defaultValues": {
"MyCompany.MyCustomField": "value1"
}
}
}
...
}
This customization uses the specified values only to _initialize _the field when the Test Case is created. To update custom fields, use the Custom field updates customization.
Last updated
Was this helpful?