# Jira Cloud status to Jira On-Prem String field

**URL:** <https://community.exalate.com/t/jira-cloud-status-to-jira-on-prem-string-field/5546>\
**Category:** General Questions\
**Tags:** jira, configuration, migrated\_question\
**Created:** [November 4, 2024, 8:12am UTC](https://community.exalate.com/t/jira-cloud-status-to-jira-on-prem-string-field/5546 "2024-11-04T08:12:09Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![xl8bot](https://dub1.discourse-cdn.com/flex018/user_avatar/community.exalate.com/xl8bot/32/324_2.png) [@xl8bot](https://community.exalate.com/u/xl8bot)\
**Post date:** [November 4, 2024, 8:12am UTC](https://community.exalate.com/t/jira-cloud-status-to-jira-on-prem-string-field/5546/1 "2024-11-04T08:12:10Z")

</div>

_Originally asked by Harold Oconitrillo on 21 July 2023 [(original question)](https://oldcommunity.exalate.com/questions/88245070)_

* * *

Hi,

We are trying to push the status from Jira Cloud into a string field in Jira On-Prem.

When I use a debug statement **debug.error**

```auto
("replica.status.name = ${replica.status.name}")

```

, the I see a string such as ‘Waiting’ or In Progress. But when I try to put that into a custom string field using

```auto
“issue.customFields."Current Status" = replica.status.name”

```

I receive an error.

Do I need to convert the value to a string or something?

Thanks.

* * *

---

<div class="post-metadata">

**Author:** ![xl8bot](https://dub1.discourse-cdn.com/flex018/user_avatar/community.exalate.com/xl8bot/32/324_2.png) [@xl8bot](https://community.exalate.com/u/xl8bot)\
**Post date:** [November 4, 2024, 8:12am UTC](https://community.exalate.com/t/jira-cloud-status-to-jira-on-prem-string-field/5546/2 "2024-11-04T08:12:11Z")

</div>

_Answer by Syed Majid Hassan on 22 July 2023_

The value is already a string, but you need to put it into the value attribute of the customField i.e.

```auto
issue.customFields."Current Status".value = replica.status.name

```

`Please give it a shot and let me know the result.`

`Thanks`

`Majid`

* * *
