Getting project environments through the GraphQL api

Problem to solve

Why is it not possible to fetch environments for more than 1 project at a time in the GraphQL API? It is a little frustrating for some of our automation involving gitlab that we’re not able to fetch that information for more than 1 project. It seems to go against the purpose of the GraphQL API, which is to fetch complexly nested fields for multiple objects. Am I missing something that would let me do this, or is there a reason/discussion/place to make a feature request for this?

Versions

Please add an x whether options apply, and add the version information.

  • [ X] Self-managed
  • GitLab.com SaaS
  • Dedicated

Versions

  • GitLab (Web: /help or self-managed system information sudo gitlab-rake gitlab:env:info): 17.11