I get an "Error! Invalid Query!" message when there is a Salesforce field that has been modified or removed
Summary
An "Error! Invalid Query!" or "Failed to pull from Jira" message keeps appearing when accessing a Jira issue or trying to pull data from Salesforce.
Sometimes even the Salesforce panel in the Jira issue would not load.
Environment
Jira Server
Jira Cloud
Diagnostics Steps
Diagnose this problem by going in the Salesforce section on Jira > Connections > Configure > Click on the "Fields" of the object you are working with.
Or also directly on the mappings. Then check and see if one or more fields are highlighted in red.
Cause
Some Salesforce fields may have been modified or removed.
Workaround
Not applicable.
Resolution
You need to correct the fields by removing and adding those that were modified and/or remove the ones that are no longer available.