How to sync the Original Estimate from one issue to other linked with Scriptrunner Listener and JIRA

We can create a Script Listener triggered at UPDATE ISSUE event. Just copy/paste the code and configure the name of the Type of Link. Don’t forgive to set in the Screens the System field “Time Tracking” to set the Original Estimate!