I'm trying to set up a rule that will automatically transition the status for the linked issues being blocked by an issue to their previous status when the blocking issue is transitioned to a "done" status.
In the Advanced Branching for linked issues, it says that "smart-values in components defined for related issues will refer to the related issue by default" and that "you can however also access the issue that triggered this automation rule via {{triggerIssue}}."
But when creating the smart value
{{#changelog.status}}{{from}}{{/}}
it is referring to the trigger issue by default and not the related issue, so the related blocked issue is updated to the previous status from the trigger issue and not the previous status on the related issue.
Does anyone know why the smart value isn't defaulted to the related issue by default? And how I can pull the from status for the related blocked issues and not the trigger issue?
I know I could create a hidden field in Jira to log previous status for each issue and then use that to transition the blocked issues accordingly, but trying to avoid that extra setup if it's not necessary.
Thanks all!