Hello,
I have one custom field of type single line text on each side, our local Jira data center and the remote Jira cloud. Synchronization only needs to take place unidirectional (remote → local), so I set up the configuration as follows:
Incoming Script (local):
issue.customFields.‘10300’.value = replica.customFields.‘10087’?.value?.value
Outgoing Script (remote):
issue.customFields.‘10087’= replica.customFields.‘10300’
But the problem I’m now encountering is that my local text field never receives a value. If I try to output the remote field value to the log file, it is always returning a null value
log.info("?Value: " + replica.customFields.'10087'?.value?.value)
[2024-12-12 11:17:41,450] <script> ?Value: null
What makes the whole thing even more confusing is that in the “Remote Issues” tab in one of the corresponding Jira tickets, the field contains a value in the payload, i.e.:
Field Name (10087): Test1234
As I can’t seem to figure out where the problem lies, please let me know your valuable suggestions.
Thank you