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

Christofer Dutz May 2, 2012

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

2 votes
Answer accepted
Christofer Dutz May 2, 2012

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 :-(

Bob Swift OSS (Bob Swift Atlassian Apps)
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.
May 2, 2012

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

Sean McMullin November 26, 2013

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