PostHog / posthog

🦔 PostHog provides open-source web & product analytics, session recording, feature flagging and A/B testing that you can self-host. Get started - free.
https://posthog.com
Other
22.07k stars 1.33k forks source link

Copy / Move dashboards across projects #19476

Open MarconLP opened 11 months ago

MarconLP commented 11 months ago

Is your feature request related to a problem?

Currently it's not possible to move dashboards between projects, without a hacky workaround.

Describe the solution you'd like

This for dashboards: 2023-12-21 at 12 19 19@2x

Describe alternatives you've considered

You can copy dashboards into different projects using the save as template method.

  1. Go to dashboard
  2. Click the ... menu and Save as dashboard 2023-12-21 at 12 16 15@2x
  3. Copy over the code into the new project under the same menu
  4. Click save
  5. Visit https://us.posthog.com/dashboard?tab=templates and make template global 2023-12-21 at 12 24 53@2x
  6. Create a new dashboard using the dashboard created in the previous step

Additional context

https://posthoghelp.zendesk.com/agent/tickets/8496 https://posthoghelp.zendesk.com/agent/tickets/8327

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

MarconLP commented 10 months ago

+1 https://posthoghelp.zendesk.com/agent/tickets/8724

mariusandra commented 10 months ago

The hidden complexity here is in the fact that we need to copy a lot more than just dashboards and insights. Insights might reference actions or cohorts that don't (can't) exist in the other project. Do we just ignore them? Do we copy them? How do we avoid recreating a cohort a second time when we copy a different dashboard?

We'll get far by just ignoring and removing what we can't easily copy (all actions and cohorts from all filters essentially), but a mostly working feature just means more support load. So we should have a plan in place.

EZWrighter commented 9 months ago

Setting up complex test server Actions/Insights/Dashboard and want to duplicate it over to my production data. Recreating it is a real PITA.

MarconLP commented 9 months ago

+1 https://posthoghelp.zendesk.com/agent/tickets/10093

MarconLP commented 9 months ago

+1 https://posthoghelp.zendesk.com/agent/tickets/10218

FabioSchmidberger commented 9 months ago

This would be a really important feature!

vanimesh commented 9 months ago

Following as its required for us too.

MarconLP commented 4 months ago

+1 https://posthoghelp.zendesk.com/agent/tickets/15348