Skip to content

Using projects as environments: syncing actions/insights/dashboards/playlists etc. #13418

Description

@lharries

Is your feature request related to a problem?

Many users use projects as environments (production, staging, local dev).

However, if you create a dashboard/actions/insight in staging you need to re-create that manually within PostHog.

This came up with an onboarding user interview where we made an action on the staging env and then he needed to re-create it again on the production project

Describe the solution you'd like

  • Be able to copy over or sync the actions, insights, dashboards (everything?) between two projects

There's already work by Team Experimentation on enabling this for Feature Flags. I think it's a sensible pattern to introduce across all the products.

This could be particularly unlocked by the PostHog 3000 concept of treating them all as files, hence allowing more easy duplication.

Describe alternatives you've considered

Have a separate concept of environments within a project. However, this is likely substantially more work including changing our assumptions built into queries.

Additional context

Came from a discussion with @Twixes

Another way we could make PostHog projects feel better suited to act as environments would be by enabling customers to explicitly label the projects as either Production/Staging/Test etc.

Thank you for your feature request – we love each and every one!

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions