HTTP/1.1 405 Method Not Allowed


 Im trying

HttpPost request =

new  HttpPost(""+issueNumber+"");


{\"fields\": {\"Record URL\" :[\"/http://ddcdev01.hic.hicnet:81/pint2V7/nbcsr/]}}" );

getting  a following error


HTTP/1.1 405 Method Not Allowed [Server: Apache-Coyote/1.1, X-AREQUESTID: 736x16258x1, X-ASEN: SEN-L5439581, Set-Cookie: JSESSIONID=DEAE16935FF6D6E0F0916634755EFF8E; Path=/; HttpOnly, X-Seraph-LoginReason: OK, Set-Cookie: atlassian.xsrf.token=B153-03FQ-FIU5-C4OD|53999ab7b239a3b9d7af64453ca436a9f06059af|lin; Path=/, X-ASESSIONID: 75tibb, X-AUSERNAME: system, Allow: HEAD,DELETE,GET,OPTIONS,PUT, X-Content-Type-Options: nosniff, Content-Type: text/html;charset=utf-8, Content-Language: en, Content-Length: 1013, Date: Wed, 08 Apr 2015 02:16:14 GMT] org.apache.http.conn.BasicManagedEntity@6f2e6f2e


1 answer

0 vote
Paulo Hennig Atlassian Team Apr 16, 2015

Make sure you use PUT as your request method.

This other answer should help

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 Tuesday 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...

159 views 1 17
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