Skip to content

Add blocked_by and blocks quick actions for issues

Related to #214232 (closed)

What does this MR do and why?

Adds new quick action commands /blocks and /blocked_by for issues.

These enable users to set one or multiple issues as blocked or blocking. The quick actions can be used in the description (when creating or updating an issue) and in comments. Requires GitLab Starter license.

Screenshots or screen recordings

note_quick_action

description_quick_action

How to set up and validate locally

  1. Visit an issue and use the commands in the description or a comment (accepts 3 formats):
/blocks #<some_existing_issue_iid>
/blocks <some_existing_issue_url>
/blocks group/project#<some_existing_issue_iid>
  1. Verify that links appear in the linked items panel with the correct relationship
  2. Use the command with the URL of an issue the user has no access to and verify that the link is not 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.

Edited by Eugenia Grieff

Merge request reports