Jira Expression for validating Epics are closed for Initiatives

sierra tiktas July 13, 2023

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. 

jira.png
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

0 answers

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events