Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Duplicate feature flag within the same project #21788

Open
jurajmajerik opened this issue Apr 24, 2024 · 2 comments
Open

Duplicate feature flag within the same project #21788

jurajmajerik opened this issue Apr 24, 2024 · 2 comments
Labels
enhancement New feature or request feature/feature-flags Feature Tag: Feature flags team/feature-flags

Comments

@jurajmajerik
Copy link
Contributor

jurajmajerik commented Apr 24, 2024

Feature request

Is your feature request related to a problem?

From a user:

We find ourselves wanting to reuse the same set of rules for a number of feature flags, currently seems to require a lot of repetition on copy pasting (eg. we have regex rules, cohorts etc).

Describe the solution you'd like

Duplicate the feature flag within the same project.

Describe alternatives you've considered

Additional context

Debug info

- [ ] PostHog Cloud, Debug information: [please copy/paste from https://us.posthog.com/settings/project-details#variables]
- [ ] PostHog Hobby self-hosted with `docker compose`, version/commit: [please provide]
- [ ] PostHog self-hosted with Kubernetes (deprecated, see [`Sunsetting Kubernetes support`](https://posthog.com/blog/sunsetting-helm-support-posthog)), version/commit: [please provide]
@jurajmajerik jurajmajerik added enhancement New feature or request feature/feature-flags Feature Tag: Feature flags team/feature-success labels Apr 24, 2024
@neilkakkar
Copy link
Contributor

I think copying should be good enough in this case? Rule sharing seems to create more complications imo around keeping flags in sync & leading to unexpected issues like a change in one affecting the other.

@jurajmajerik
Copy link
Contributor Author

I agree, changing the title of this

@jurajmajerik jurajmajerik changed the title Rule sharing for feature flags Duplicate feature flag within the same project Apr 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request feature/feature-flags Feature Tag: Feature flags team/feature-flags
Projects
None yet
Development

No branches or pull requests

3 participants