Work Item Quick Action: relate

Summary

As part of our ongoing initiative to achieve parity between issuables and work items, we will introduce a /relate quick action for work items. This action will allow users to create a relationship between two work items easily, enhancing the traceability and management of related tasks, stories, and bugs. This quick action should maintain the structure and behavior currently utilized in issuables.

Current Behavior

Screenshot 2024-02-01 at 4.04.54 p.m..png

Screenshot 2024-02-01 at 4.13.26 p.m..png

Acceptance Criteria:

  1. Users should be able to type /relate followed by a work item identifier or URL.
  2. The quick action should be available in a work item's comment box or in the description.
  3. 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.
  4. Upon successful execution of the /relate action, the system should display a visual confirmation within the work item that a new relationship has been established.
  5. All permissions and visibility settings that apply to the work items being related should be respected.

Phrasing

Action Description Response
/relate Link items related to this item Added %{target} as a linked item related to this %{work_item_type}.
Edited by Nick Leonard