I'm stuck. My question is a probobly simple, but I'm new at JS.So is there any method or expression to define linked issue's ID? For example to show issues ID in the pop up message I use this:
workflow.message(workflow.i18n('IssueID:' + issue.id));
But I want to display issue ID of some linked issues. E.g. Issue A-123, has link 'Relates To' issue A-200. When I define link with
var relatesTo = issue.links['relates to']; and use relatesTo.id in a message I get with result: IssueID: undefined.
Please help. Thank you i advance.