Skip to content

Add assignees to a task

This page may contain information related to upcoming products, features and functionality. It is important to note that the information presented is for informational purposes only, so please do not rely on the information for purchasing or planning purposes. Just like with all projects, the items mentioned on the page are subject to change or delay, and the development, release, and timing of any products, features, or functionality remain at the sole discretion of GitLab Inc.

Problem to solve

Usability improvement for Tasks! A natural element of a task is the assignee. Tasks should be assignable.

Proposal

  • Tasks can be assigned to one ("GitLab Free") or more ("GitLab Premium") users
  • If someone is @ mentioned in the markdown taskable, pre-fill the assignee(s) on the task view (create mode)

Acceptance Criteria

  • Search for assignees
  • Add assignees
  • Remove assignees
  • Quick apply assign to self
  • Close manage assignee modal
  • Show avatars of assigned users on work item view
  • Supports existing "invite members" workflow
  • FE event tracker
  • Redis counter
  • Unify assignees code in the backend from issuable services and widget service

Permissions and Security

  • Same permissions as existing issue permissions.

Documentation

  • Yes

Testing

  • Write tests, but this will be iteratively developed behind a FF and not generally available.

What does success look like, and how can we measure that?

  • Work items are not yet a stage where we will be measuring quantitatively.

Tiering

FE Event Trackers

category: workItems:show
label: el
action: assigned_user
property: [type_{{insert issue type}}]
category: workItems:show
label: el
action: unassigned_user
property: [type_{{insert issue type}}]

Redis counter

- **name:** `users_updating_work_item_assignees` 
- **category:** `work_items`
- **redis_slot:** `users` 
- **include in the following aggregation counters:**
  - [x] `xmau_plan`
  - [x] `xmau_project_management`
  - [ ] `xmau_product_planning`
  - [ ] `xmau_certify`
  - [x] `users_work_items`

Release Notes

Tasks represent discrete work units necessary to complete an issue. You can now assign tasks to a single individual in GitLab Free or multiple people in GitLab Premium or Ultimate. Assigned tasks can be accessed from your personal issues dashboard and are filterable by assignee from within a project's issue list.

https://docs.gitlab.com/ee/user/tasks.html#assign-users-to-a-task

Edited by Gabe Weaver