Skip to content

Fix work item ancestor loading for user namespaces

Nicolas Dular requested to merge nd/fix-ancestors-for-personal-projects into master

What does this MR do and why?

Issue: #433155 (closed)

Fix work item ancestor loading for user namespaces

This fixes an issue where we try to load the ancestors of a work item within a user namespace project.

We tried to preload group policies for the project, however this failed as we are in a user namespace.

Changelog: fixed

Screenshots or screen recordings

Screenshots are required for UI changes, and strongly recommended for all other merge requests.

Before After
Screenshot_2023-12-01_at_17.23.01 Screenshot_2023-12-01_at_17.20.29

How to set up and validate locally

  1. Create an OKR on a user namespace project
  2. Create a Key Results within that OKR
  3. Look at the Key Result and see the GraphQL error

MR acceptance checklist

This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.

Edited by Nicolas Dular

Merge request reports