How to troubleshoot 'Failed to push to Jira!' error message
How to troubleshoot 'Failed to push to Jira!' error message
Summary
'Failed to push to Jira' error message prompts when pushing updates manually from Salesforce to Jira.
Environment
Jira Cloud/Server
Any
Diagnostics Steps
Web requests can provide the full error message for further troubleshooting. The video below explains how to diagnose the possible root cause of the issue:
Causes
'Failed to push to Jira' error message can be caused by various issues. Below are the possible error messages you might find in the browser web requests:
"Field 'status' cannot be set. It is not on the appropriate screen, or unknown."
Jira Status field is a Read-Only field. Therefore, only outbound sync (Jira > Salesforce) is supported.
"Field 'customfield_10112' cannot be set. It is not on the appropriate screen, or unknown."
As the error suggests, the custom field with ID '10112' is not on the appropriate screen. Specifically, the custom field is not on the Edit Issue screen.
The connector uses the mapped fields on the Jira Edit Issue screen to push updates from Salesforce to Jira.
"Option id 'null' is not valid"
This might be due to mapping incompatible field types. For example, having Jira 'Select List (single choice)' field type mapped with Salesforce 'Picklist(Multi)' field type.
"Option value 'Child 1' is not valid"
The mapped fields are compatible with one another. However, the value 'Child 1' is unavailable in Jira.
Resolution
"Field 'status' cannot be set. It is not on the appropriate screen, or unknown."
Go to Jira, Apps > Salesforce > Bindings > Mapping > Mappings
Locate Status field mapping
Make the sync direction pointing to Salesforce only (Outbound sync) as shown as the picture below:
"Field 'customfield_10112' cannot be set. It is not on the appropriate screen, or unknown."
Find the custom field mentioned in the error message:
In Jira, navigate to Issues > Custom fields
Click on the Configure for any the custom fields you have