Are you saying it doesn't copy the issue links? That code doesn't, what it does is clones the issue and links it.
You could modify it to use IssueLinkManager to clone the links too.
You would be better of using the built-in script: https://jamieechlin.atlassian.net/wiki/display/GRV/Built-In+Scripts#Built-InScripts-Clonesanissueandlinks - rather than that old example code which I make no effort to maintain. But IIRC that doesn't clone issue links either.
Atlassian Summit is an excellent opportunity for in-person support, training, and networking.Learn more
One of the newest products in the Microsoft family - Microsoft Teams, is a chat-based hub for teamwork that integrates all the people, content, and tools your team needs to be more engaged and ...
Connect with like-minded Atlassian users at free events near you!Find a group
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no AUG chapters near you at the moment.Start an AUG