> For the complete documentation index, see [llms.txt](https://docs.struct.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.struct.com/tutorials/guides/how-to-use-tasks/how-to-assign-a-task.md).

# How to assign a task

This short tutorial takes you through the process of assigning users to tasks.

### Assigning users while creating the task

When creating a task, you must assign one or more responsible users / user groups. Enter the user or group name to add them to the task.

<figure><img src="https://2141378775-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FuUonpFWM7AJ0xVVXV1tr%2Fuploads%2FHktUaQNH9KAliOa33xzz%2Fimage.png?alt=media&amp;token=930cec93-6f1b-4564-ae66-d3d935b7d1df" alt=""><figcaption></figcaption></figure>

### Assign a task from the overview

On the task overview page, you can quickly assign users to one or more tasks by selecting the desired tasks and clicking the <i class="fa-user">:user:</i> icon.

<figure><img src="https://2141378775-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FuUonpFWM7AJ0xVVXV1tr%2Fuploads%2Faho0lSyjOGaOskeynvJ5%2Fimage.png?alt=media&amp;token=02aaa677-cdc5-4a25-9737-618467574f15" alt="The task overview page where you can assign users"><figcaption><p>The task overview page where you can assign users to one or more tasks.</p></figcaption></figure>


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.struct.com/tutorials/guides/how-to-use-tasks/how-to-assign-a-task.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
