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 votes
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
Community showcase
Published Nov 27, 2018 in Portfolio for Jira

Introducing a new planning experience in Portfolio for Jira (Server/DC)

In the past, Portfolio for Jira required a high degree of detail–foresight that was unrealistic for many businesses to   have–in   order to produce a reliable long-term roadmap. We're tur...

2,383 views 15 19
Read article

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