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