Copying flag settings is only available to customers on select plans. To learn more, read about our pricing. To upgrade your plan, contact Sales.
This topic explains how to compare and copy flag settings between two environments.
To learn how to clone a flag, rather than just copy its settings, read Cloning existing flags.
To compare and copy a flag’s settings:


Individual targeting and segment targeting are specific to an environment. Even if two different environments have a context or segment with the same name in each environment, LaunchDarkly treats them as distinct. For example, if a flag targets two segments both named “Beta users” in two different environments, LaunchDarkly displays an exclamation point icon indicating a difference in targeting rules between the two environments.

Your settings are now copied into the target environment.
If the environment you’re copying changes to requires approval, you will be prompted to request approval from another member. To learn more, read Approvals.
You can copy all custom targeting rules simultaneously with the Select all checkbox. However, if one of your rules references a segment that does not exist in the target environment, you cannot copy any targeting rules. You will still be able to copy Targeting state, Prerequisites, Individual context targets, the Default rule when on, and the default off variation (“If targeting is off, serve”).
If one of the flag targeting rules in your source environment has an active guarded rollout or progressive rollout, then in the target environment that rule is created as a percentage rollout with allocations that match the current guarded or progressive rollout in the source environment.