# Set Fix Versions

> **Note: Availability**
> This workflow uses functionality that is only available using the JavaScript Editor. This means that it is unavailable for editing in the Workflow Constructor.
>
>
>
> To learn more about this workflow, refer to the corresponding page in our [Developer Portal](https://www.jetbrains.com.cn/en-us/help/youtrack/devportal/Workflow-Set-Fix-Version.html).

This workflow forces developers to set the fix version when they resolve an issue.

| Name | @jetbrains/youtrack-workflow-set-fix-versions |
| Auto-attached | no |
| Rules |      * Require a fix version to resolve an issue (on-change)    |

## Use Case

This workflow was originally taken from a submitted request ([JT-2468](https://youtrack.jetbrains.com/issue/JT-2468)).

The user who submitted this issue wanted to force developers to set the fix version when they resolved an issue.

## Modules

This workflow supports the following rule:

| Title | Description |
| --- | --- |
| Require a fix version to resolve an issue | When an issue is updated, this on-change rule checks whether the state is changed to Fixed. If true, the rule requires that a value is set in the Fixed versions field.        * If a value is set in the Fixed versions field, the issue is resolved as Fixed.    * If the Fixed versions field is empty, a warning is displayed. The issue is not resolved. The required field is highlighted.    |

