Need to migrate JIRA Dashboards; what are our options?

I know it's not possible to natively export dashboards.

However, we're merging two instances, and we're desperate to avoid manually recreating 123 shared dashboards.

So, can we work around this, or somehow hack things to get the Dashboard information out of one instance and into another? For example, by dumping the system, carving out the relevant XML, and restoring it? Can we somehow ninja the information using Script Runner?

Any and all answers or thoughts welcome.

2 answers

4 votes
Colin Goudie Community Champion Jul 09, 2013

I have migrated before using SQL scripts direct. Copying from 1 SQL Server to another. What DB are you using? You'll find you'll also need to migrate filters as many of the dashboard widgets depend on them

The tables are

searchrequest

PortalPage

PortletConfiguration

GadgetUserPreference

FavouriteAssociations

FilterSubscriptions

SharePermissions

Hi Colin,

 

I have successfully migrated the filters in DB, But I observe a wierd behaviour with dashboards that are migrated. They keep refreshing. Have you seen the similar behaviour?

 

Regards

Anirudh

OK, I managed to figure that out. The behavior is observed if we use TRUE/FALSE flags for USERPREFKEY colum in Gadgetuserpreference table. I have inserted the records with upper case causing this. I changed the values to lower case and the dashboards are working fine.

We have exactly the same need. Would you be able/agree to share the script ?

Hi Benoit,

Which Database have you got?

I used a dirty way to migrate my who data, used Excel to increment the PKeys and generated the scripts based on that.

Regards

Anirudh

0 vote

Please vote on this feature request   https://jira.atlassian.com/browse/JRA-41104

Suggest an answer

Log in or Sign up to answer
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Published Monday in Jira Software

How large do you think Jira Software can grow?

Hi Atlassian Community! My name is Shana, and I’m on the Jira Software team. One of the many reasons this Community exists is to connect you to others on similar product journeys or with comparabl...

398 views 6 10
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you