Hi!
Is the linked issue's issue limited to retrieving the status, resolution, type, etc but no custom fields?
e.g.
issue.links.filter(link => link.type.id == 10102) .filter(link => link.direction == "outward") .map(link => link.linkedIssue).every(issue => issue.customfield_10214.value == "XYZ")
https://developer.atlassian.com/cloud/jira/service-desk/jira-expressions/
It is actually lazy loading so the return values do not contain custom fields if you don't specify them.
This works;
issue.links.filter(link => link.type.id == 10102).map(link => link.linkedIssue).every(issue => issue.customfield_10277...
Are you sure that you need the ".value" at the end of the expression? I haven't tried it, but other examples look like this:
issue.customfield_10123 != "foo"
It looks like you're new here. Sign in or register to get started.