REST API - fetch all backlog items

I'm looking for the API, or combo of them, which will help me fetch an entire backlog from hosted jira so that we can move those issue to our local instance. I can't do the standard XML import because that would over-write what already exists, so I have to use the APIs.

1 answer

You can do XML export from the hosted jira and then import the required project over a temporary project. Then "Bulk Move" all the issues from the temp project into your target project where you want all the issues merged.

I just upgraded our local instance to 6.2.2. I know that there were compatibility issues between 6.1.7 and 6.2.2 because the import failed on that one. I'll be working on this shortly, so I'll let you know.

Yes - the configuration should match. I remember that previously there was some problem with JIRA Agile and project import and I hope it is now fixed but still I'm not sure.

OK, I did the xml export, but when I import by project, I'm erroring out on a bunch of custom fields. Looks like I'll have to create all of those custom fields in my local instance to match those in the hosted instance.

Next issue. Instead of testing between my prod and my test instance, I tried an import from hosted to my test instance (our company has about 300 developers, and the different teams are paying for their own hosted instances out of their own budgets - I need to bring them ALL to our local instance). My test instance was just upgraded to 6.2.3#6260, but the hosted is 6.2.3#6318. Of course, the project import failed.

From the documentation, it looks as if I need to just import the hosted instance data to the test on-prem instance. Will that work, even if I'm on different releases?

Next. I'm getting a licensing error on the import from on-demand. "Invalid License Key Specified"

Suggest an answer

Log in or Sign up to answer
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Sarah Schuster
Posted Mar 28, 2018 in Jira Software

Can a company’s culture make or break agile adoption?

Can a new-to-agile team survive and thrive in a non-agile culture? If so, what advice would you give to those trying to be agile in a non-agile culture? What's the key(s) to success? Share your thoug...

12,070 views 15 13
Join discussion

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