# Subsystem Assignee

> **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-Subsystem-Assignee.html).

This workflow automatically assigns an issue to a specific user based on the value set in the Subsystem field.

| Name | @jetbrains/youtrack-workflow-subsystem-assignee |
| Auto-attached | yes |
| Rules |      * Set subsystem owner as assignee for new issues (on-change)    |

## Use Case

This workflow lets you assign issues to specific developers who are responsible for working on a subsystem in a project. You can customize this rule to create other techniques for assigning issues automatically based on values in other fields.

## Rules

This workflow supports the following rule:

| Title | Description |
| --- | --- |
| Set subsystem owner as assignee for new issues | When an issue is updated, this rule checks for the following conditions:       * The Assignee field is empty.    * The issue becomes reported in this transaction or the subsystem or project is changed in a reported issue.                If either of these conditions is true and the Subsystem field is not empty, the issue is assigned to the owner of the subsystem.     |

