I'm trying to create an Epic with the "Clones an issue and links" post function. It's not working; I think because Epic Name is a required field. Is it possible to use the Summary of the source issue for the Epic Name of the target issue?
You should be able to specify the epic name by using this code in the "Additional code" section:
import com.atlassian.jira.component.ComponentAccessor def customFieldManager = ComponentAccessor.getCustomFieldManager() def epicNameCf = customFieldManager.getCustomFieldObjectByName("Epic Name") issue.setCustomFieldValue(epicNameCf, sourceIssue.summary)
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