Launched: Clone Flags

LaunchDarkly
By Traci Lopez   •   October 11, 2018
LaunchDarkly

For large projects, you'll often want to create many similar feature flags for different features or parts of the application. Today, we're making it even easier to create multiple flags related to a single project with our Clone Flag functionality. When you clone a flag, LaunchDarkly will copy the full targeting configuration for all environments (including on/off state) from the original flag to the new flag.

With Clone Flags you can create one flag, and then quickly create many more flags based on that first flag. This new Clone Flag functionality is a way to create flag templates for operational use cases, create flags around a single project, or to help new team members correctly make new flags.

Clone Flags show up as a separate audit log entry than a creating a new flag from scratch, making it easier to differentiate what's happening when members of your team are making new flags. You can also clone a flag programmatically through the API using the existing Create Feature Flag route, and adding the clone query parameter. For example, https://app.launchdarkly.com/api/v2/flags/:projKey?clone=:clonedFlagKey (replacing :clonedFlagKey with the appropriate key for your source flag).

Clone Flag is available on all LaunchDarkly flags under the Settings tab. For more information on the new clone query in our Flag API, go to https://docs.launchdarkly.com/home/getting-started/feature-flags#cloning-flags.

You May Like
  •   BEST PRACTICESTesting in Production to Stay Safe and Sensible
  •   BEST PRACTICESWhat Is Continuous Testing? A Straightforward Introduction
MAY 14, 2021   •   BEST PRACTICESCloud Deployment Models: Explaining and Comparing the 5 Main Models
MAY 11, 2021   •   BEST PRACTICESWhat Is Deployment Automation, and Why Should You Care?
MAY 6, 2021   •   BEST PRACTICESRelease Testing Explained
MAY 4, 2021   •   BEST PRACTICESOrchestration vs. Automation in the Cloud: How to Use Both