We are getting the following error when REST API is executed in retrieving data out of JIRA intermittantly:
Unable To Get List Of Jira Issues. Error During REST API Call. HTTP Reponse Code: 400
REST URL: https://lumen.atlassian.net//rest/api/3/search/jql
Input JSON: {"jql":"'CA PPM Task' = 'Yes' AND updated > '2026-03-25 11:00' AND issuetype = Capability ORDER BY subtasks","nextPageToken":null,"maxResults":"100","fields":["key","customfield_10255","customfield_10014","customfield_10061","customfield_10281","assignee","project","priority","status","id","created","statusCategory","summary","description","issuetype","updated","components"]}
REST Error Message: {"errorMessages":["Caught PSQLException for select /* called at com.atlassian.jira.issue.fields.FieldKeysManagerImpl.lambda$loadCfMapping$2(FieldKeysManagerImpl.java:79) */\"CUSTOM_FIELD\".\"id\", \"CUSTOM_FIELD\".\"cfkey\", \"CUSTOM_FIELD\".\"customfieldtypekey\"\nfrom \"public\".\"customfield\" \"CUSTOM_FIELD\"\nwhere \"CUSTOM_FIELD\".\"cfkey\" is not null and \"CUSTOM_FIELD\".\"customfieldtypekey\" is not null"]}
We have had no luck with a solution as to why the call is failing.
Duplicate Projects are created when process that uses this API call is executed as well as assignment of Projects to JIRA capabilities when in actual they have a Project already assigned from Clarity.
Any help would be appreciated.