Saving the value of a constant

Hi,

It’s probably really simple but I am trying to set the a drop down field (replica.tem) with a constant (‘Team A’) but I cannot find the correct syntax,

replica.team = “Team A”

Many thanks

It depends on the platform etc. but the following is hopefully a decent stab:

issue.customFields."Team".value = "Team A"

Hope it helps!

Thanks
Majid

p.s.: The word replica is reserved for the payload arriving from the remote side.

Hey @PeterLEllis

Can you please confirm whether you want to set the constant in outgoing sync script or in incoming sync script?

We can assign values in replica in outgoing sync script like : replica.team = “Team A” (not sure correct or not). But the solution provided by @Majid is for incoming sync script.

If you are still facing the issue please confirm and we would like to help you further.

Thanks,
Sonal

1 Like