Using Jira Version 8.22.1 project automation
The Setup:
A 'story' Issue contains a linked 'test' issue of "tested by"
When the test issue transitions to a fail, it triggers a transition on the story issue which triggers this automation flow.
When this automation flow is triggered, I create a 'defect' issue using a current issue branch and link the defect as blocking to the story.
I then have a second branch "for linked issues", to the story, which targets the test issue.
The Problem:
I am attempting to link the test issue to the defect issue by using the 'most recently created issue' from the 'link issues' action, but the issue key of the created defect issue can't be found; however, it is in the log output.
There are several articles similar to this but none of the solutions work.
LOG OUTPUT: