Skip to content

Fix assigning users to a task on unlicensed instance

What does this MR do and why?

Currently, on work item assignees it's impossible to assign a user from the dropdown if multiple assignees are not allowed (i.e. for any instance that doesn't have a license). This MR adds a call for the setAssignees method explicitly on user input when the multiple assignees feature is disabled.

How to set up and validate locally

  1. Before testing, remove a license from your GDK instance.
  2. Add a task to any existing issue.
  3. Open the task in a modal and add an assignee from the dropdown (not using Assign myself button)
  4. Refresh the page.

You should see the user you've assigned in the assignees' list.

MR acceptance checklist

This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.

Related to #377391 (closed)

Edited by Natalia Tepluhina

Merge request reports

Loading