Skip to content

Enable search mechanism if work item epic are shown in issue sidebar

What does this MR do and why?

We had disabled search mechanism as the filters were still in progress for work item Epic.

As #393126 (closed) is closed now, we need to remove the check for search mechanism when display_work_item_epic_issue_sidebar feature flag is enabled.

MR acceptance checklist

Please evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.

Screenshots or screen recordings

Before After
Screenshot 2024-02-14 at 5.19.26 PM.png Screen Recording 2024-02-14 at 5.21.24 PM.mov

How to set up and validate locally

Prerequisites:

  1. Enable the feature flags
    • Feature.enable(:display_work_item_epic_issue_sidebar)
    • Feature.enable(:namespace_level_work_items)
  2. The namespace must have Ultimate plan.

Steps to verify:

  1. Login with any user
  2. Go to any Group > Epics
  3. Modify the link path from /epics to /work_items like below e.g. http://127.0.0.1:3000/groups/gitlab-org/-/epics > http://127.0.0.1:3000/groups/gitlab-org/-/work_items
  4. Create a new Epic
  5. Go to any Project of the group
  6. Navigate to Issues > Issue detail
  7. In the sidebar, click on Edit button of Epic field
  8. Check if searching the newly created work item Epic is visible

Related to #434169 (closed)

Merge request reports