Dear Community,
I am trying to create an automation rule to transform a "Task" issue type in a "subtask" one when this Task is linked to another parent issue.
Trigger : when a link is created between 2 parent issue - 1 of type Enhancement and 1 of type Task
Then I would like to transform the Task into subtask of the Enhancement.

I'm using the "Edit fields" action to change the issue type. "Parent key" is not available as a field to be set. So I try it in the advanced mode.
This Automation is not successful, I should have something wrong in my JSON in Advanced mode.

Error I get is "Issue type is a sub-task but parent issue key or id not specified. (issuetype)"
Thank you for your help.
Romain