For an automation with "Subtask created" trigger and "Add relationship" action, it lets me choose any single (specific) task from the whole ClickUp, but not a relative value - a parent of the subtask that triggers the automation.
I believe that every subtask must have a parent, and can only have one parent (so far). I'm really surprised it is still not possible in ClickUp 🙉
p.s. you might want to merge it with this one: https://feedback.clickup.com/feature-requests/p/allow-automations-to-target-a-parent-or-child-task - not sure why it was closed :)