Skip to content

Boards - Fetch projects and groups using Apollo

What does this MR do and why?

Refactors fetching projects and groups using Apollo instead of VueX when creating an issue or epic in a list.

No user facing changes.

This work is required as part of Apollo boards migration but impacts legacy VueX boards.

This impacts Group Issue Boards and Epic Boards.

This is required for the following issue of Apollo boards migration: #381024 (closed). It was split away to reduce the size of the MR and because this part is independent and does not need to remain on VueX state, therefore, we don't need to keep this behind :apollo_boards feature flag.

Screenshots or screen recordings

Group Issue Boards Epic Board
Screenshot_from_2023-06-22_16-02-10 Screenshot_from_2023-06-22_16-02-25

How to set up and validate locally

  1. Visit a board
  2. In the top right corner of a list, select the 3 dots menu > Create a new issue/epic
  3. Verify that projects (for issue boards) or groups (for epic boards) load properly
  4. Create issue/epic

MR acceptance checklist

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

Related to #381024 (closed)

Edited by Florie Guibert

Merge request reports