I have created an automation to "create stories with sub-tasks when creating epic" -> picture 1. The idea behind the automation is to build logical structure for work flow and resource management.
Epic = Project
Story = Key Milestone
Sub-Task = Daily objectives/induvial tasks of any key milestone
Now, I am trying to assign an individual team to each Story -> picture 2. However, when I use the "edit issue fields" it only updates the Epic and not the Story. The JSON code works just fine for updating the "teams field" but it updates the Epic and not the Story. I only want to update the "teams filed" of the Story and not the Epic.

