Skip to content

GitLab integration: label linked issues and MRs #7163

@emyller

Description

@emyller

Context: #7000

When a GitLab issue or MR is linked to a feature flag (#7160), Flagsmith should add a "Flagsmith Flag" label to it so the team can filter for linked items in GitLab.

Scope

Important

In the GitHub integration, tagging_enabled controls two things: the "Flagsmith Flag" label on issues/PRs in GitHub, and feature state tags in Flagsmith (e.g. "PR Merged", "Issue Closed"). This issue covers the label side. The feature state tags are driven by webhooks and delivered in #7165. Both share the same tagging_enabled toggle.

Note

#7120 and #7121 contain reference code:

Acceptance criteria

  • "Flagsmith Flag" label created on the GitLab project when first needed
  • Label applied to issue or MR when linked to a flag
  • Tagging can be toggled on/off from the integration settings

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions