Sync Cascading field Zendesk -> Jira

Originally asked by Taras Botsko on 06 July 2021 (original question)


Hi,

I`m trying to map fields between Zendesk and Jira and have an issue with apllying value to Cascading field on Jira

Here I`m trying to apply and add new option to cascading field. New option is added to Cascaded field but it is not set in ticket and not applied to field.

issue.customFields.“Business Unit”.value=createOption(“Business Unit”, replica.customFields.“Business Unit”.value?.parent?.value, issue)

Here I`m even try to asign option on each sync just for a test, but nothing happens

issue.customFields.“Business Unit”.value=“dog”

Can you please guide me how to properly assign value to cascading field. I need only to use parent value

Thanks in advance,