Customization: Update custom Test Case fields on push
Last updated
Was this helpful?
Last updated
Was this helpful?
The Custom field updates customization can be used to update arbitrary Test Case fields that are otherwise would not be changed by SpecSync.
The configuration setting customizations/customFieldUpdates
has been replaced by synchronization/fieldUpdates
. See feature description for details.
This feature has been deprecated in v5 and will be removed in the next release. Please use the specsync upgrade
command to upgrade the configuration to the replacement feature.
In order to enable this customization, the customizations/customFieldUpdates
section of the configuration has to be enabled. The complete reference of the configuration settings can be found in the .
The following example shows a basic configuration that initializes the Description field to a message containing the feature name.
Specifying an update for a field that is also updated by SpecSync (e.g. Title) causes unpredictable behavior.
The specified fields are only updated when the Test Case would otherwise change. If the test case is up-to-date, the custom fields are not going to be updated.
The specified value is a template to be used to update the field. The template can contain placeholders listed in the .
To initialize custom fields with a default value, use the .