I am working on a workflow validator that will not allow Initiatives to be closed until all epics have a resolution filled in. I am getting various errors, but the main thing seems to be epic is not recognized as a possible filter.
Is there a way to achieve this using linked issues? What would that look like?
issue.issueType.name.match('^(Initiative)$') != null && issue.epic.filter(epic => epic.resolution.name != 'Empty').length == issue.epic.length