It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Restore Jira XML via bash

Looking at some of the documentation I want to restore an XML via a bash script of simple java program.


Just wondering if anyone has been able to write a bash script of something along those lines to restore an XML from the import folder without plugins or having to even log into the UI?


something like:

import com.atlassian.jira.pageobjects.config

call the public class public class RestoreJiraDataFromBackdoor

 pass the path to the import folder???

Very interested to see what your thoughts are on this?


Thanks smile


1 answer

1 accepted

2 votes
Answer accepted

I think the only way to do this and not using the GUI is using curl to first login, store the cookie and authentication token, then make a second call that does a post against the webserver where the restore is done:

Good luck!

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted in Off-topic

Friday Fun: Virtual dance party!

Do dance parties help you relieve stress? How about *virtual dance parties*? My team holds virtual dance parties to brighten the mood of a tough day or celebrate an upcoming weekend.  Want t...

147 views 20 8
Join discussion

Community Events

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

Find an event

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

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you