REST API - fetch all backlog items

Brian Bagent April 13, 2014

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

0 votes
Boris Georgiev _Appfire_
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
April 13, 2014

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.

Brian Bagent April 15, 2014

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.

Boris Georgiev _Appfire_
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
April 15, 2014

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.

Brian Bagent April 15, 2014

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.

Brian Bagent April 15, 2014

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?

Brian Bagent April 15, 2014

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