# Task 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/help/youtrack/devportal/Workflow-Task-Assignee.html).

This workflow automatically sets the assignee of an issue when the state changes to In Progress.

| Name | @jetbrains/youtrack-workflow-task-assignee |
| Auto-attached | no |
| Rules |      * Assign issue to current user when state changes to in progress (on-change)    |

## Use Case

This workflow helps you automatically set the assignee of an issue when the state changes to InProgress. This workflow is useful when you work with an agile board. The user who pulls an unassigned issue to start work on it is automatically set as the assignee.

## Rules

This workflow supports the following rule:

| Title | Description |
| --- | --- |
| Assign issue to current user when state changes to in progress | When the state of an issue is set to In Progress, this rule checks for a value in the Assignee field. If the field is empty, the current user is set as the assignee.     |

