Given that my company have two JIRA projects, Project A (Incident) and Project B (Improvement).
I have created an issue to report an incident in Project A for example; INC-001
and we also report the incident to Process Owner team, they create a backlog issue on their Project B for example; PRO-009.
So we inwards link issue INC-001 to PRO-009 like this
"INC-001 is affected by PRO-009"
Somehow, INC-001 has a dependency to PRO-009 and could not be closed if PRO-009 is not moved to "Done".
In this situation, i create a global automation to detect that... when PRO-009 is transited to "Done", then.. the automation will write down a comment in INC-001 issue like this..
INTERNAL COMMENT:
Update: {{triggerissue.key}} is moved to "Done", please the assignee of INC-001 proceed to the next step.
However, i have tried several smart-value such as {{triggerissue.issuelinks.inwardIssue.key}} to ensure that the automation can retrieve the key that PRO-009 is linked by (In this case, INC-001), but somehow it returns nothing.
Please someone advise me what is the correct structure of smart-value that i can put in the automation. Thank you.