> For the complete documentation index, see [llms.txt](https://docs.specsolutions.eu/specsync/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.specsolutions.eu/specsync/features/push-features/customization-reset-test-case-state-after-change.md).

# Customization: Reset Test Case state after change

The *Reset Test Case state* customization can be used to reset Test Case state after change as a separate work item update based on tags. This is useful for example when the Test Case has to be marked as `Ready` if the scenario is tagged with `@ready`, but when work item updates are not allowed in `Ready` state.

{% hint style="info" %}
The *Reset Test Case state* customization described here is an [Enterprise feature](/specsync/licensing.md).
{% endhint %}

In order to enable this customization, the `customizations/resetTestCaseState` section of the configuration has to be enabled. The complete reference of the configuration settings can be found in the [customizations configuration reference](/specsync/reference/configuration/configuration-customizations.md#resettestcasestate).

The following example shows a basic configuration that resets the Test Case state to `Ready` if after change if the scenario is tagged with `@ready`.

```javascript
{
  ...
 "customizations": {
    "resetTestCaseState": {
      "enabled": true,
      "state": "Ready",
      "condition": "@ready"
    }
  }
  ...
}
```

If condition is not specified, the state is reset for all changed Test Case.
