How Do I Resolve "MALFORMED_QUERY" or "QUERY_TOO_COMPLICATED"?
Plugin: | Classic Connector for Salesforce & Jira |
---|---|
Question: | How Do I Resolve "MALFORMED_QUERY" or "QUERY_TOO_COMPLICATED"? |
Answer: | The problem happens when the SOQL generated by the Connector violates the following Salesforce rules:
These issues are solved by enabling the Optimize Query to Remote System (Only query fields mapped, limited details sent to JIRA). (See Image 1.) Image 1: Enabling the Optimize Query to Remote System To enable Optimize Query to Remote System:
IF after you have performed the previous steps, you still receive this error message: MALFORMED_QUERY: SOQL statements cannot query more than 35 different parent types Then you will have to start unchecking fields from the Read Access column in your credential account that you use for the Connector setup in JIRA. (See Image 2.) Image 2: Unchecking fields in Visibility column To uncheck fields from the Read Access column:
|