You should add a post-function like this:
def parentIssue =
After that you can begin to copy values of the fields from the parentIssue variable to the issue variable. The code would depend on your requirements. After that you have to update the issue.
It could be done with less code in Power Scripts.
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