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!
![]() |
![]() |
---|---|
Before | After |
How to set up and validate locally
- Enable the
work_items_group_issues_list
feature flag - Create a new group
Parent Group
, and 2 projectsA
andB
inside that group - Create an issue in both project
A
andB
- Navigate to the
Parent Group
> Issues page. Notice both issues are displayed - Archive project
A
(via ⋮ > Project Settings > Advanced > Archive) - Navigate back to the
Parent Group
>Issues
page. Notice only the issue in projectB
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