Exalate Sync problem - Compilation error

Originally asked by Roman on 15 January 2021 (original question)


Tried to find what caused the problem and found that I can’t even save the existing connection, getting “Compilation error”.

'Script cannot be saved. Details: startup failed: file:/var/atlassian/application-data/jira/scripts/Status.groovy: 67: The variable [context] may be uninitialized . At [67:39] @ line 67, column 39. final BasicHubIssue replica = context.replica ^ 1 error ’

Status.groovy is updated. Last successful sync was about month ago.