Hey everyone, I'm trying to make a manual trigger automation that links all issues that is linked to the trigger issue to a different list of issues if their values on a custom field is the same. To better illustrate this:
- Issue 1
- Linked Issue 1 has value X in Custom Field 1
- Linked Issue 2 has value Z in Custom Field 1
- Issue 2
- Linked Issue 3 has value X in Custom Field 1
- Linked Issue 4 has value Z in Custom Field 1
Automation:
- Maunally triggered on Issue 1
- Links Linked Issue 1 to Linked Issue 3
- Links Linked Issue 2 to Linked Issue 4
So far I have managed to create an automation that can link Linked Issue 1 to Linked Issue 3 but it has to be triggered on the linked issue but not the main Issue with all the target linked issues. See the screenshot below:

Automation:
- Manually triggered on Linked Issue 1
- Links Linked Issue 1 to Linked Issue 3
I'm hoping to add on to it so I do not have to manually go into each linked issue to trigger the automation but just have it trigger on the main issue all relevant issues are linked to. Is that possible to do?
I know this is a bit confusing but please let me know if additional clarification is needed and I will be happy to provide.
Thank you!