Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

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

Ivan Hanak July 9, 2024 edited

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
atlassian, team '25, conference, certifications, bootcamps, training experience, anaheim ca,

Want to make the most of Team ‘25?

Spend the day sharpening your skills in Atlassian Cloud Organization Admin or Jira Administration, then take the exam onsite. Already ready? Take one - or more - of 12 different certification exams while you’re in Anaheim at Team' 25.

Learn more
AUG Leaders

Upcoming Jira Events