Skip to content

Fix issues page redirect param

Issue: Add correct type filters when redirects /issues... (#579925)

What does this MR do and why?

This change modifies how the system filters work items when users navigate from the old "issues" page to the new "work items" page.

Previously, when redirecting users, the system would explicitly show only "issue" type items by adding a filter for type[] = 'issue'. Now, it takes a different approach by excluding "epic" type items instead, using a filter not[type][] = 'epic'.

While both approaches might seem similar, this change likely allows the page to display a broader range of work item types (like tasks, bugs, etc.) while still excluding epics, rather than limiting the view to only traditional issues. The updated tests confirm this new filtering behavior works correctly across various scenarios including search, sorting, and epic-related parameters.

References

Screenshots or screen recordings

Before After

How to set up and validate locally

MR acceptance checklist

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

Edited by Daniyal Arshad

Merge request reports

Loading