Skip to content

Add unlink quick action for issues

Eugenia Grieff requested to merge 414400-quick-action-for-unrelating-issues into master

What does this MR do and why?

Adds /unlink <#issue> quick actions for issues that allow us to remove the link with the provided issue.

Includes changelog added omitting EE trailer because changes are not exclusively for GitLab Enterprise Edition.

Screenshots or screen recordings

Screen_Recording_2023-06-06_at_16.11.16

How to set up and validate locally

  1. Create 4 issues in a project (e.g. https://gdk.test:300/gitlab-org/gitlab-test)
  2. Visit the first one and link the other 3 using the different link types in the linked items widget

Screenshot_2023-06-06_at_15.39.01

  1. Create a comment including /unlink <issue_url> for each issue.
  2. Verify that the links are deleted and that system notes are created.

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 #414400 (closed)

Edited by Eugenia Grieff

Merge request reports