PUT Rest API return 'internal server error'

Hi all:

I was using the PUT rest API to update an issue using the admin user, I always got the 'internal server error'. however, when i tried the same operation on a testing server, it is all right. the first server is Linux and the testing server is windows xp.

the response header of hte linux is :

-Headers{X-AREQUESTID: 855x278060x2

X-Seraph-LoginReason: OK

Set-Cookie: JSESSIONID=F2A596317664196D13FD2C1F1EE0BE0C; Path=/; HttpOnly,atlassian.xsrf.token=AHPB-JEL2-VI9D-ZA05|129fa57893ffb65cda6d6e6c90917c2cd11e5a64|lin; Path=/

Server: Apache-Coyote/1.1


Cache-Control: no-cache, no-store, no-transform

Content-Type: application/json;charset=UTF-8

Transfer-Encoding: chunked

Date: Mon, 26 Aug 2013 06:15:23 GMT

Connection: close


whereas the windowsxp response header looks like :
-Headers{X-AREQUESTID: 856x33886x1
X-Seraph-LoginReason: OK
Set-Cookie: JSESSIONID=854220691DC3975B5102E3A93FCF9288; Path=/; HttpOnly,atlassian.xsrf.token=AHPB-JEL2-VI9D-ZA05|adfa98891f886695e389da3f25e6d84b92f4e978|lin; Path=/
Server: Apache-Coyote/1.1
Date: Mon, 26 Aug 2013 06:16:06 GMT
Connection: close
Any suggestions???
Thanx in advance!!!

2 answers

1 accepted

This widget could not be displayed.

Thanks Lucas,

i v found the problem, it was a plugin issue: the linux application has a risk management plugin which introduces a custom field that caused the problem when 'put issue' is called

This widget could not be displayed.

Hi Kan,

Since the REST API command is working from a remote box, I'm thinking about an environment problem. Have you used cURL to perform the call? Hence, can you confirm if you haven't any firewall running on the server? Can you also try to set the JIRA BaseURL (Administration -> General Configuration) to http://localhost:8080 just for testing and, then, repeat the cURL command?

Best regards,
Lucas Timm

Suggest an answer

Log in or Sign up to answer
Atlassian Summit 2018

Meet the community IRL

Atlassian Summit is an excellent opportunity for in-person support, training, and networking.

Learn more
Community showcase
Posted Wednesday in New to Jira

Are you planning to trial, or are currently trialling Jira Software? - We want to talk to you!

Hello! I'm Rayen, a product manager at Atlassian. My team and I are working hard to improve the trial experience for Jira Software Cloud. We are interested in   talking to 20 people planning t...

292 views 5 0
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