jira cloud rest api - returns error 500 and prints the whole SQL query

Ivan Hanak July 9, 2024

Hello,

I have searched the forums, but did not find an actionable answer anywhere.

We are using jira cloud rest api to build apps for Jira.

We encountered the following problem, for one particular customer:

When making a GET http request to  /rest/api/3/label, an error 500 is returned with whole sql query being printed in the http response. How or where can we report it to Jira?  When attempting to raise a support ticket, we are prompted to ask the community.

The sql query is dozens lines of code, e.g.:

 

"Caught PSQLException for select count(*)
from (select 1 as one
from "public"."label" "LABEL"
join "public"."jiraissue" "ISSUE"
on "ISSUE"."id" = "LABEL"."issue"
where "LABEL"."fieldid" is null and (/* com.atlassian.jira.jql.permission.DbPermissionQueryFactory */

0 answers

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
FREE
TAGS
AUG Leaders

Atlassian Community Events