For an Issue List Widget, I currently have the following Custom JQL:
(issuekey in childIssuesOf("Release Management ####")) and type not in ("Subtest", Epic) AND status NOT IN (closed)
For the Smart Labels, I have the following:
Blocks: (issuekey in childIssuesOf("Release Management ####")) AND issueLinkType IN (blocks)
Blocked By: (issuekey in childIssuesOf("Release Management ####")) AND issueLinkType IN (is blocked by)
The problem is, if there are any open linked items, then the smart label shows. For each card in the list, and for each individual label, what I would like is that the label will not show if all of the linked items are closed. For example, if all of the linked items that are marked as Blocked By as Closed, then the Blocked By label should not show.