Accessing the Jira REST API of a On-Demand Jira instance


I am currently trying to create a migration tool to moove Issues from one Jira Instance to one hosted on Atlassians On Demand platform. Unfortunately the jira-rest-java-client (version 0.6-m3) is allways giving me a code 301 (Moved Permanently). The Url I am using is "" ... reading from the old repository works fine.

Is there anything special with the On-Demand Jiras? Does the URL have to be different? Is the Jira installation that new, that my rest client is too old for it? If yes, where do I get a version that works?


1 answer

1 accepted

Aaaahh ... I hate when that happens ... the problem was simply that I had to use httpS instead of http ... sorry for having botherd you guys :-(

fyi... JIRA Command Line Interface 2.6.0 has a bunch of enhancements that were added to support my migration to an OnDemand instance. I will be posting more information on the migration in the next few days - for now see Migration from Plugin Studio

Just dropping a note in saying thanks for coming back to note the https problem. I was having the same issue, and made the same mistake. Your answer saved me some pain, and some velocity on my facepalm.

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
Julia Dillon
Posted Apr 17, 2018 in Jira

Tell us how your team runs on Jira!

Hey Atlassian Community! Today we are launching a bunch of customer stories about the amazing work teams, like Dropbox and Twilio, are doing with Jira. You can check out the stories here. The thi...

770 views 2 19
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