I have been talking to AIDA trying to get support for syncing the component field of an issue coming from Salesforce, but every suggestion has been throwing an error. The latest suggestion it gave me was to make this my incoming script sync (which threw an error):
issue.components = replica.Module.value ? [new Component(name: replica.Module.value)] : null
The initial script I had for trying to take the “Module” being sent from the Salesforce end and put it into the Jira component field is: issue.components = replica.Module.value but this also threw an error.