When I run this I am getting an error "You cannot link an issue to itself.
Hello @Tomas
Welcome to the Atlassian community!
Please show us a screen image of the rule and the details of the Link Issue step.
In the Link Issue step the rule is trying to create a link between the issue in context at that point in the rule, and the issue you identify in the configuration of that step. The error message indicates that the issue that triggered the rule is the issue in context, and whatever you have specified in the step as the issue to link to is actually the same issue - the issue that triggered the rule.
What two issues are you trying to to link together?
I am trying to link Task 625 & 626 to Program 624 ticket
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello @Tomas
You have the Link Issues action occurring in the rule before the steps that create issues 625 and 626. The action cannot create a link to issues that do not yet exist.
You need to eliminate that action, and instead structure your rule to have a branch after the Create Issue actions and but the Link Issues action within that branch.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.