Rovo Studio finds stale feature flags in Jira, launches Bitbucket agents that inline final behavior, remove dead code, run checks, and open PRs.
An agentic pipeline that automates feature-flag cleanup. A Rovo Studio automation rule finds stale cleanup tickets in Jira, then triggers a coding agent in Bitbucket Pipelines for each one. The agent verifies the flag's current state, inlines the final behavior, removes dead code, runs checks, and opens a PR.
The scheduled rule queries Jira for open flag-cleanup tickets ready for code removal. For each ticket, it triggers a pipeline run passing the ticket key as context. The agent reads the ticket metadata, loads a flag-cleanup skill, and verifies the codebase before making changes—if the flag is already gone or its state differs, it stops. Checks must pass before a PR opens. Engineers review and merge through the standard process.