Work Item Quick Action: unlink (#481851) · Issues · GitLab.org / GitLab · GitLab (original) (raw)

Skip to content

Summary

As part of our ongoing initiative to achieve parity between issuables and work items, we will introduce a /unlink quick action for work items. This action will allow users to remove a relationship between two work items easily. This quick action should maintain the structure and behavior currently utilized in issuables, except that the list of options should be scoped to currently linked items (currently this shows a more general list).

Current Behavior

image

Acceptance Criteria:

  1. Users should be able to type /unlink followed by a work item identifier or URL.
  2. After /unlink, the autosuggest should present only currently linked items.
  3. The quick action should be available in a work item's comment box or in the description.
  4. The system should validate the existence of the target work item. If it does not exist or cannot be accessed by the user attempting the action, an error message should be displayed.
  5. Upon successful execution of the /unlink action, the system should display a visual confirmation within the work item that a new relationship has been established.
  6. All permissions and visibility settings that apply to the work items being related should be respected.

Edited Aug 29, 2024 by Nick Leonard