-
Notifications
You must be signed in to change notification settings - Fork 500
Description
Is your feature request related to a problem?
Currently, our developers are seriously struggling with the existing UI when trying to migrate complex feature flags across environments (or to isolated local instances).
It is extremely hard and time-consuming for them to manually recreate a feature flag, especially when it involves multiple segment overrides. For example, if a developer creates a new feature in a Development environment that includes 5 specific segment overrides, moving that exact configuration to Production requires manually recreating the feature, the values, and clicking through to rebuild all 5 segment overrides from scratch.
This manual "copy-paste" operation across different browser tabs or instances is not only tedious and painful for the team, but it is also highly error-prone. One typo in a segment rule during manual copying can easily break production logic.
Describe the solution you'd like.
We would like a simple "Export/Import" capability built directly into the UI for individual features.
Export to JSON/Clipboard: On the feature detail page, add an "Export Configuration" button. This should generate a JSON payload (with a quick "Copy to Clipboard" option) that contains the feature's complete footprint for that environment:
- Feature Name & Description
- Tags
- Default State (Enabled/Disabled)
- Default Value
- All Segment Overrides and their specific values/states
Import via UI: When navigating to a different environment (or a completely different Flagsmith instance), provide an "Import Configuration" button. Pasting the JSON payload should automatically populate all the fields, create the segment overrides, and allow the user to review the changes before saving.
Describe alternatives you've considered
Terraform (Our Current Workaround): We are currently using Terraform to sync all environments as a workaround. However, requiring developers to create a PR for every small change is tedious and completely kills the beautiful and simple idea of the Flagsmith Dashboard. The dashboard is supposed to provide agility, but the lack of an easy UI sync forces us back into heavy, slow GitOps workflows just to copy a feature.
Additional context
This feature would be a massive quality-of-life improvement for teams working across air-gapped or isolated environments. By allowing a simple JSON export/import, you eliminate the severe time drain our developers currently face, reduce the risk of human error during manual data entry, and significantly speed up the release pipeline.