Skip to content

Fix ResourceLabelEvents markdown for group level issues

Mario Celi requested to merge 435046-fix-group-issue-label-notes into master

What does this MR do and why?

ResourceLabelEvents should render the correct reference_html for issues that are created at the group level. This should be visible as system notes when you add/remove labels to a group level work item

Screenshots or screen recordings

Screen_Recording_2023-12-18_at_15.30.30

How to set up and validate locally

  1. Enable the namespace_level_work_items FF in Rails console Feature.enable(:namespace_level_work_items)
  2. Visit http://localhost:3000/groups/flightjs/-/work_items
  3. Create a new Epic with the create Epic button on the top right corner
  4. Click on the newly created epic and add a label to it
  5. Before this change, the label added system note should not render the label correctly. Video above shows how it should be displayed

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

Merge request reports