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

Hi,

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 "http://flexmojos.atlassian.net/" ... 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?

Chris

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 Join to answer
Community showcase
Sarah Schuster
Posted Jan 29, 2018 in Jira

What are common themes you've seen across successful & failed Jira Software implementations?

Hey everyone! My name is Sarah Schuster, and I'm a Customer Success Manager in Atlassian specializing in Jira Software Cloud. Over the next few weeks I will be posting discussion topics (8 total) to ...

2,795 views 11 18
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
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot