I am using Structure for Jira. I want to define an Expr expression to display the open issues that this issue is dependent on. I have a working expression for displaying all issues that this issue is dependent on:
WITH _format(issue) = """[${issue.key}|${issue.url}]""" :
issuelinks
.FILTER($.type = 'Dependency' AND $.source = this)
.MAP(_format($.destination))However, if I try to change the filter to display only the open issues using the statusCategory attribute, it doesn't work:
WITH _format(issue) = """[${issue.key}|${issue.url}]""" :
issuelinks
.FILTER($.type = 'Dependency' AND $.source = this AND $.destination.statusCategory != 'Done')
.MAP(_format($.destination))I would expect the attribute statusCategory to have one of the following values: "To Do", "In Progress", or "Done". However, the expression above doesn't work. Is statusCategory the right name for this attribute in Expr? Is there something else I am doing wrong?