I try to define an issue picker field. I would like to give the user the ability to select an issue, which is linked to the current issue. I tried the following JQL but it fails with an error:
project = "my project" AND issuetype = "my issue type" and issue in linkedIssues(issuekey, "my relation")
I get the error: Issue 'issuekey' can not be found.
The JQL does not evaluate the variable issuekey. Instead it takes the string 'issuekey' as the key.
How to fix this?