Not able to sync fix version from destination to source project

Hello Team,

As I populate fix version in destination project it is not reflecting in source project. Below is the code that I am using in my incoming sync so that it does populate my source project.

issue.fixVersions = replica.fixVersions?.collect { nodeHelper.getVersion(issue.projectKey, it.name) }?.findAll { it }.

Let me know what can I need to change.

Hi Harsh

Please make sure that you have the fixVersions on the outgoing script.

If it’s part, then I can suggest tyring the following snippet

issue.fixVersions = replica.fixVersions.collect { v -> nodeHelper.createVersion(issue, v.name, v.description) }

This will check for the fixVersion but if doesn’t exist on the remote side it will be created.

Let me know how it goes.

Best,
Kevin