If you want to take the following as a template if your project uses a custom field for "Team":
Use this for the "action" Edit issue fields | Advanced:
{"fields": {"customfield_id": "{{issue.epic.team.id}}"}}