Hi all,
in this Post-Function I'm trying to set the field called "Group Assign" with the same group that is inside the "implementors Team" field, the fields are both "group picker (single group)"
def cfImplTeam = ComponentAccessor.getCustomFieldManager().getCustomFieldObjectsByName("Implementors Team").first()
def cfGroupAss = ComponentAccessor.getCustomFieldManager().getCustomFieldObjectsByName("Group Assign").first()
def cfImplTeamValue = issue.getCustomFieldValue(cfImplTeam)
issue.setCustomFieldValue(cfGroupAss, cfImplTeamValue)
Can anyone tell me where I'm doing wrong?
Thanks in advance.