Skip to content

Exclude work items from archived projects by default

What does this MR do and why?

This MR excludes work items from archived projects from being returned from the namespace.workItems GQL endpoints, mimicking the behaviour of the legacy issues queries.

References

Screenshots or screen recordings

See the first item listed in before block is from archived project!

Screenshot_2025-10-01_at_3.45.40_PM Screenshot_2025-10-01_at_3.48.19_PM
Before After

How to set up and validate locally

  1. Enable the work_items_group_issues_list feature flag
  2. Create a new group Parent Group, and 2 projects A and B inside that group
  3. Create an issue in both project A and B
  4. Navigate to the Parent Group > Issues page. Notice both issues are displayed
  5. Archive project A (via ⋮ > Project Settings > Advanced > Archive)
  6. Navigate back to the Parent Group > Issues page. Notice only the issue in project B is displayed

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.

Related to #573145 (closed)

Edited by Vedant Jain

Merge request reports

Loading