:wave: Is there any way to replicate or create a new environment from an existing environment by cop...
v
👋 Is there any way to replicate or create a new environment from an existing environment by copying over all flag, experiment, and attribute definitions?
Any suggestion/info on this request?
f
Hi Jit
there is no way currently to do this
but you can copy rules to a new env
you could open an issue for this feature
v
Thanks Graham!
but you can copy rules to a new env
Can you please elaborate?
@fresh-football-47124 any update will be much appreciated.
r
The steps to do this is: 1.Navigate to the feature flag that contains the rule you want to copy. 2.Click on the "Copy" icon next to the rule. 3.In the modal that appears, select the environment(s) you want to copy the rule to. 4.Click "Copy".
­
v
Thanks Natasha! Is there any API to do this?
And from what I understand this would not copy the entire flag/experiment, right?
r
Correct, this will just copy the rules
You can fetch and create a feature using the API here<.>
👍 1