I need to write behavior to set Team field basing on another custom field. setFormValue doesn't work since Team field is a special type. I try to Team object (from come.atlassian.rm.teams.api.team.Team), with setCustomFieldValue and it doesn't work either. (I don't want to use updateIssue since it commits in the middle of behavior). This seems to be basic, but I can't find any example on how to do it).
Thanks.