Getting error when creating issues in Jira Service Desk

Hi,

    I just changed Jira Server to run on a domain instead of localhost.  Now, it is giving the following error when I try to create an issue.

 

Exception occurred: com.atlassian.plugins.rest.common.json.JsonMarshallingException: org.codehaus.jackson.map.JsonMappingException: Caught SQLException for select ACTION.id, ACTION.issueid, ACTION.author, ACTION.actiontype, ACTION.actionlevel, ACTION.rolelevel, ACTION.actionbody, ACTION.created, ACTION.updateauthor, ACTION.updated, ACTION.actionnum from jiraschema.jiraaction ACTION where ACTION.issueid = ? and ACTION.actiontype = ? order by ACTION.created asc, ACTION.id asc offset ? rows fetch next ? rows only (through reference chain: com.atlassian.jira.quickedit.rest.api.field.QuickEditFields["createdIssueDetails"]->com.atlassian.jira.rest.v2.issue.IssueBean["fields"]->java.util.HashMap["comment"])

 

It could be trying to call the REST api on localhost instead of the domain.  The domain is http://helpdesk.itservicegroup.net:8080

How do I fix this?

 

 

1 answer

0 votes

Changing the address, hostname, or IP should not have any relation to this kind of error.   Your log snippet shows that you are getting a SQL exception when JIRA is trying to do a select statement.   Yes there is an API call here, but the problem appears to be as to why JIRA cannot make this SQL select statement back to the database for some reason.

I have only seen this particular kind of SQL exception in JIRA environments that are still using Microsoft SQL Server 2008 or earlier with a JIRA 7.2.x or higher.   Please note that the MS SQL 2008 version is not supported in JIRA 7.2.x and higher.

The Supported platforms - Atlassian Documentation also explains this.  If you are using that database type/version I would recommend migrating your JIRA database to a supported platform.

Suggest an answer

Log in or Join to answer
Community showcase
Teodora [Botron]
Published Thursday in Marketplace Apps

Jira Inferno: The Nine Circles of Jira Administration Hell

If you spend enough time as a Jira admin - whether you are managing a single, mid-sized instance, a large enterprise one or juggling multiple instances at once - you will eventually find yourself in ...

414 views 1 13
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
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot