I’m trying to populate the value from a Jira picklist into a Salesforce text field. While I’m able to successfully send the Jira picklist value to the Salesforce replica, I’m encountering issues when attempting to populate the Salesforce custom field with the desired value.
The issue you’re encountering with populating the Salesforce custom field is due to the incorrect assignment of the replica object in your incoming script.
In your current script, you’re assigning replica.customFields."Roadmap_Quarter" to entity.Jira_Roadmap_Qtr_c, but it should be replica.customFields."Jira_Roadmap_Qtr__c" instead. This is because "Jira_Roadmap_Qtr__c" is the correct replica field name you used in the outgoing script for the “Roadmap Quarter” custom field in Jira.
To resolve this, the correct script in your Salesforce Incoming sync should be: