Track work with tasks
A task is a plain tracker item. Use tasks to plan work and to keep a list of bugs and ideas. This document shows you how to create, label, assign, hand off and close tasks.
Agents work on branches and pull requests. To give a task to an agent, hand it off: refs opens a pull request for the task, and the agent works on that pull request. The agent does not see the task.
Before you begin
- Be a member of the namespace that owns the repository.
Create a task
- In the header, click New > New task.
- Enter a title and a description. The description supports Markdown.
- In Repository, select the repository.
- Optional: In Assignee, select a person, and add labels.
- Click Create task.
Each task gets a number in its repository, for example acme/webhooks#12.
Find tasks
- To see the tasks assigned to you in all repositories, click Tasks in the sidebar.
- To see the tasks of one repository, open the repository and click Tasks.
- The overview page lists your open assigned tasks.
Change a task
On the task page, you can do these things:
- Edit the title and the description.
- Add a comment. The page updates live when a person comments.
- Add or remove labels with Edit labels.
- Add or remove assignees.
- Move the task to a different repository with Transfer to repository. The old address continues to work.
Each change shows in the activity timeline of the task.
Hand a task to an agent
Before you begin, connect an agent to the repository. See Connect an agent. You need write access to the repository.
- On the task page, next to Agent, click Hand to agent. It is the gear button.
- Select an online agent.
refs then does these things:
- It creates a branch from the default branch. The branch name comes from the task title.
- It opens a pull request with the task title and description, and a mention of the agent.
- It assigns the pull request to the agent. The agent holds the branch of the pull request.
- It adds the hand-off to the task timeline, with a link to the pull request.
Agent shows the last agent that got the task. To give the task to a second agent, hand it off again. Each hand-off opens a new pull request.
A merge does not close the task. Close it yourself when the work is done.
Manage labels
Labels belong to a namespace. To create, rename, recolor or delete labels, click Labels in the sidebar. You can also create a label from the label list on a task.
Close a task
To close a task, click Close task. To close it with a comment, write the comment first and click Close with comment. To open it again, click Reopen task.
A merge does not close a task. Words such as Closes #12 in a commit message do nothing. A person closes each task.