Uploaded image for project: 'Jira Platform Cloud'
  1. Jira Platform Cloud
  2. JRACLOUD-96841

Handle SQL errors to remove database queries references

XMLWordPrintable

    • Our product teams collect and evaluate feedback from a number of different sources. To learn more about how we use customer feedback in the planning process, check out our new feature policy.

      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.

              Unassigned Unassigned
              412df9a4736e Alisson Dalmago
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated: