We have 3 issues types: Task, Request, and Initiative. An Initiative is created first. I am trying to build an automation where when a Request is created that is linked to an Initiative it will fill in the custom Initiative Name field on the Request with the Summary from the linked Initiative. Otherwise, it will put in some default text liked "Requested Enhancement" or something similar. Important note: there will always only be up to 1 linked Initiative, any other linked issues will be other Requests or Tasks.
I have tried building this automation with a branch but it attempts to update the custom field on the linked Initiative which is not right. I have also tried to use an if/else component but I cannot figure out what combination of smart values or JSON to use to update the Initiative Name field with the Summary from the linked Initiative.