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

This widget could not be displayed.

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
Community showcase
Posted yesterday in Jira

What modern development practices are at the heart of how your team delivers software?

Hey Community mates! Claire here from the Software Product Marketing team. We all know software development changes rapidly, and it's often tough to keep up. But from our research, we've found the h...

83 views 0 1
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