Problem with synchronizing issue links

Originally asked by Support on 07 February 2023 (original question)


I would like to synchronize issue links. Adding an issue link is working fine, but removing an issue link is not working.

This is the simple code on the outgoing side:

replica.issueLinks = issue.issueLinks

This is the code on the incoming side:

log.error("LINKSOLD: " + issue.issueLinks)
log.error("REPLICALINKS: " + replica.issueLinks)
issue.issueLinks = replica.issueLinks
log.error("LINKSNEW: " + issue.issueLinks)

The Log file shows in case of removing a link this, which seems to be correct:

[com.exalate.script] LINKSOLD: [com.exalate.basic.domain.hubobject.v1.BasicHubIssueLink@447d9413, com.exalate.basic.domain.hubobject.v1.BasicHubIssueLink@447ceeed]
[com.exalate.script] REPLICALINKS: []
[com.exalate.script] LINKSNEW: []

But my issue still shows the issue link, s. screenshot.

Regards.