-
Suggestion
-
Resolution: Unresolved
Issue Summary
There are scenarios in which, when a SQL query fails, the whole SQL query is shown in the error message, as shown on the example below:
org.springframework.web.client.HttpServerErrorException$InternalServerError: 500 Internal Server Error on GET request for "https://<atlassian_instance>": "{"message":"Caught PSQLException for select /* called at com.atlassian.jira.issue.request.oldstores.IssueStoreImpl.lambda$fetchIssues$5(IssueStoreImpl.java:127) */\"ISSUE\".\"id\", \"ISSUE\".\"pkey\", ... , "status-code":500,"stack-trace":""}"
Please consider handling the error message to remove references to internal database tables.