Skip to content

Migrate epic write operations (toggle state, edit labels) to GraphQL #33

Description

@jnwrnr

Currently epic writes go through REST PUT /groups/:id/epics/:iid, while reads are moving to the Work Items GraphQL API. For consistency and because GitLab is deprecating the REST Epic API long-term, migrate the write path as well.

Scope

  • toggleCardState for epics → GraphQL workItemUpdateMutation with state event.
  • updateCardLabels for epics → GraphQL workItemUpdateMutation with labelsWidget add/remove payload.
  • Keep REST write path for issues / MRs — those don't have the same deprecation pressure yet.

Dependencies

  • Requires Work Items GraphQL mutations to be stable on gitlab.com (they are as of 2026).
  • Proxy already forwards /graphql; no infra change.

Metadata

Metadata

Assignees

No one assigned

    Labels

    P1Importantarea:widgetFigJam widgettype:infraTooling, CI, build, tests

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions