Hi,
What should be very simple has proved challenging getting the right syntax. I am successfully picking up the select fields value from the parent issue but despite the many variations I have tried to use I cannot get it copied over to the child issue,. Can someone tell me what I have done wrong?
def fldCustomer = contextIssue.getCustomFieldValue('Customer')
def fldCustomerValue = fldCustomer.toString()
getFieldByName('Customer').setFormValue(fldCustomerValue)
I have also tried using fldOptions below:
def fldOptions = optionsManager.findByOptionValue(fldCustomerValue)[]