When users log a Defect via the xray test execution, we have it set up to link that new defect (we are using issue type Bug) to the associated Test and User Story. If you create another defect from that same test execution, it will also link to the associate test and user story. However, the 2 defects are not linked to each other.
Is there a way to run an automation rule that will link to two defects together? I've tried setting the trigger as when an Issue is Created and when an Issue is Linked, but it have not been successful.