Error while Syncronizing the custom field from External to Internal Jira

Originally asked by Shiva on 18 September 2019 (original question)


Hi,

I am trying to sync the custom field value from external to internal Jira but i am getting error. I have other custom fields and they do sync but i don’t know why is this happening with the newly created custom field. The custom field is Text field(single line). Attaching the error message.

Thanks,

Shiva


Answer by André Leroy-Beaulieu Castro on 18 September 2019

Hi Shiva,

This is because you are setting the value of the custom field in the custom field itself and not in it’s value. You have to use issue.customFields.“name of your custom field”.value = replica.customFields.“name of your custom field”.value.

Thanks,

André


Comments:

Shiva commented on 19 September 2019

Hi André,

Yes i dint define the script properly. Its working now.

Thanks,

Shiva

André Leroy-Beaulieu Castro commented on 19 September 2019

No problem (old community)

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.