Internal Error when editing customfield Edited

I am trying to edit issue using issue.update(fields={'customfiled_10000':'edited'})

it returns response text = {"errorMessages":["Internal server error"],"errors":{}}

I can create issue and edit comments fine. Just not able to edit customfield.

Could someone help?

Traceback (most recent call last):

File "C:\Python27\Scripts\OM.py", line 135, in createJira
ssdfa_issue.update(fields={'customfield_10911': str(om_issue.key)})
File "C:\Python27\lib\site-packages\jira\resources.py", line 480, in update
super(Issue, self).update(async=async, jira=jira, notify=notify, fields=data)
File "C:\Python27\lib\site-packages\jira\resources.py", line 229, in update
self.self + querystring, data=data)
File "C:\Python27\lib\site-packages\jira\resilientsession.py", line 156, in put
return self.__verb('PUT', url, **kwargs)
File "C:\Python27\lib\site-packages\jira\resilientsession.py", line 146, in __verb
raise_on_error(response, verb=verb, **kwargs)
File "C:\Python27\lib\site-packages\jira\resilientsession.py", line 56, in raise_on_error
r.status_code, error, r.url, request=request, response=r, **kwargs)
JIRAError: JiraError HTTP 500 url: https://jirax.xxxx.com:xxxx/rest/api/2/issue/16682
text: Internal server error

response headers = {'X-AUSERNAME': 'xxxxx', 'X-AREQUESTID': '545x4439450x4', 'X-Content-Type-Options': 'nosniff', 'Content-Encoding': 'gzip', 'Transfer-Encoding': 'chunked', 'X-Seraph-LoginReason': 'OK', 'Vary': 'User-Agent', 'X-ASEN': 'SEN-3605770', 'X-ASESSIONID': '1ifw8h3', 'Connection': 'close', 'Cache-Control': 'no-cache, no-store, no-transform', 'Date': 'Wed, 25 Oct 2017 16:05:21 GMT', 'Server': 'Apache-Coyote/1.1', 'Content-Type': 'application/json;charset=UTF-8'}
response text = {"errorMessages":["Internal server error"],"errors":{}}

 

when I create a new issue

issue= jira.create_issue(fields=root_dict)
and i can edit this issue oject with no problem

However, when I get the existing issue using

issue = jira.issue('JRA-123')
editing this issue gives me internal error.

1 answer

0 vote

An internal server error means something went wrong in Jira, not your code.

You'll need to read the Jira logs to discover what it was.

where is the jira log?

Under <Jira home>/logs.  You can get the full location from Jira's System Information page in the admin section.

i dont know where is <jira home>/logs, i am using python and call through the REST API.

You need to read the Jira logs.  Look at the Jira system's config in the system information pages, it will tell you where the log is.

IT blocks that, cant see it.

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 Apr 17, 2018 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...

809 views 2 19
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