← Docs

Feature flags with flags.gg

Mark a ticket as needing a feature flag and TrackLin.es keeps its flag in flags.gg in step with the board: made when work starts, promoted through your environments as the ticket moves, and cleaned up once it’s live. Flags never turn on by themselves: you switch them on, from the ticket or in flags.gg.

Connect flags.gg

  1. In flags.gg, open Company → Integrations and make an integration token. It starts flg_ and is shown once.
  2. In TrackLin.es, an organization admin opens Settings → Integrations → Feature flags, pastes the token and clicks Connect. It’s checked with flags.gg, stored encrypted and never shown again.
  3. For each project, open Edit project → Integrations → flags.gg and pick the Application its flags go in. Set how many days after production the “Remove flag” ticket is due.

Connect a flags.gg company to one TrackLin.es organization only: flags are named after ticket keys, which are only unique within an organization.

Choose what each column does

On a board’s Edit page, each column has a Flag setting: Automatic, Nothing, Promote to the next environment, Promote to production, or Archive the flag. Automatic promotes from Testing or QA columns, and to production from the board’s Dev complete column. It says what it means next to each column.

Mark a ticket

What happens as the ticket moves

WhenWhat happens to the flag
The ticket goes onto a boardThe flag is made in flags.gg, off, in the application’s first environment (usually dev).
It moves to a column set to PromoteThe flag is added to the next environment, off. Testing and QA columns do this unless you set otherwise.
It moves to a column set to Promote to productionThe flag is added to every environment left, up to production, off. The board’s Dev complete column does this unless you set otherwise.
The flag reaches productionA “Remove flag” ticket goes into the backlog, due after the project’s cleanup days (30 unless changed), for whoever had the ticket.
The “Remove flag” ticket is finishedThe flag is archived in flags.gg, in every environment.
It moves back, or to the backlogNothing: flags.gg never takes a flag out of an environment.
It’s deleted, closed as won’t do, or marked a duplicateThe flag is archived.

If flags.gg can’t be reached, the move still happens; the change is tried again until it works.

The flag panel

See also Connect an AI agent for how agents work tickets that need a flag.