# Saving the value of a constant

**URL:** <https://community.exalate.com/t/saving-the-value-of-a-constant/6299>\
**Category:** General Questions\
**Tags:** onpremise-jira, jira\
**Created:** [April 1, 2025, 4:10pm UTC](https://community.exalate.com/t/saving-the-value-of-a-constant/6299 "2025-04-01T16:10:00Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![PeterLEllis](https://avatars.discourse-cdn.com/v4/letter/p/7feea3/32.png) [@PeterLEllis](https://community.exalate.com/u/PeterLEllis)\
**Post date:** [April 1, 2025, 4:10pm UTC](https://community.exalate.com/t/saving-the-value-of-a-constant/6299/1 "2025-04-01T16:10:00Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![Majid](https://dub1.discourse-cdn.com/flex018/user_avatar/community.exalate.com/majid/32/343_2.png) [@Majid](https://community.exalate.com/u/Majid)\
**Post date:** [April 1, 2025, 5:03pm UTC](https://community.exalate.com/t/saving-the-value-of-a-constant/6299/2 "2025-04-01T17:03:47Z")

</div>

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

```auto
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.

---

<div class="post-metadata">

**Author:** ![Sonal\_Otwani](https://dub1.discourse-cdn.com/flex018/user_avatar/community.exalate.com/sonal_otwani/32/392_2.png) [@Sonal\_Otwani](https://community.exalate.com/u/Sonal_Otwani)\
**Post date:** [June 19, 2025, 7:01am UTC](https://community.exalate.com/t/saving-the-value-of-a-constant/6299/3 "2025-06-19T07:01:26Z")

</div>

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
