Show work item IID in requirements list

Problem

The REQ-1 style IID of the requirement is being deprecated. The UI needs to be updated to show the new identifier on

  • Requirement list view (example)
  • Requirement detail view (click on a requirement to open the drawer)

Solution

List view

List view Popover on hover
image image
  • Replace REQ-* identifier with the work items iid.
  • Prepend REQ-* identifier to the information below the title.
  • Add popover on hover to the REQ-* identifier.

Popover text

Legacy requirement IDs are being deprecated. Update your links to reference this item’s new ID #99999. Learn more.

Learn more should link to the depreciation notice.

Detail view (drawer)

Detail view
image
  • Replace REQ-* with the work items ID.
  • Add 'Legacy requirement ID' display.
  • Add explanatory text and link to depreciation notice.

Explanatory text

Requirements have become work items and the legacy requirement IDs are being deprecated. Update your links to reference this item’s new ID #2 (closed). Learn more.

Learn more should link to the depreciation notice.

Todo

Original description

@felipe_artur mentioned in #329435 (comment 1165768324):

We are also showing iids at requirements list, when this deprecation happens are we going to start showing the work item iid?

As of the time of writing, in our Requirements index page we show the REQ-1 style IID of the requirement - this maps to the dedicated requirement object. (see https://gitlab.com/issue-reproduce/charliecharlie123/-/requirements_management/requirements for an example)

image

As we're moving to Work Items and dedicated requirement objects are being deprecated and removed in &9203, we should handle how this should appear in:

  • the requirements index page
  • the Work Items index page

Perhaps both should appear while the IID is being deprecated, with clear messaging that it will be phased out and not to rely on it.

Edited by Dan MH