below script copies story points from parents to sub task while creating sub task but still i'm not able copy fix version like story points.
could some one help me to modify this script to copy fix version as well
def field = ComponentAccessor.getCustomFieldManager().getCustomFieldObjectByName("Story Points")
//def field = ComponentAccessor.getCustomFieldManager().getCustomFieldObjectByName("fixVersion")
def parentMyFieldValue = issue.parentObject.getCustomFieldValue(field)
def changeHolder = new DefaultIssueChangeHolder();
field.updateValue(null, issue, new ModifiedValue(issue.getCustomFieldValue(field), parentMyFieldValue),changeHolder);
As a Belgian, beer-lover and home brewer, beer is one of my great passions. I love the fact that with just a few ingredients (usually just water, hop and malt) you can create so many different tastes...
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
We're bringing product updates and pro tips on teamwork to ten cities around the world.Save your spot